For the 4-bit weighted-resistor DAC shown in Figure 4.5, determine the output from the resistors to.

For the 4-bit weighted-resistor DAC shown in Figure 4.5, determine the output from the resistors to the amplifier for inputs of 0001, 0010, 0100 and 1000 if the inputs are 0 V for a logic 0 and 5 V for a logic 1.