Programmable Voltage Divider
Given Figure shows a programmable voltage divider in which digital inputs b0 and b1 control complementary analog switches connecting a multitap voltage divider to the analog output vO.
The switch positions in the figure apply when digital inputs are low. When inputs go high the switch positions reverse. Find the analog output voltage for (b1,b0) = (0,0), (0,1), (1,0), and (1,1) when VREF = 12 V.