(total 20 points):
A student has a computer with an analog output port with a 12-bit D/A converter that has an output
range from 0 to 5 volts. The student attempts to produce a
wave that rises from 0 V to 5
V, then falls to 0 V, then rises to 5 V, then falls to 0 V, etc. by sending the following sequence of
numbers to the D/A:
0, 1, 2, . . ., 4999, 5000, 4999, . . ., 2, 1, 0, 1, 2, . . ., 4999, 5000, 4999, . . ., 2, 1, 0, etc.
(10 points) Sketch the waveform actually produced at the analog output port (ignore the tiny
steps that correspond to the D/A output steps). Label the vertical axis, but do not worry about the
(10 points) Show how you could improve on what the student did.
EECS 145M Final Exam
S. Derenzo/P. Hughett