Example 12.2 Figure 12.8a shows a float connected to a 10 kΩ potentiometer with
a 10 V supply. Calculate the output voltage for liquid levels from empty to full, plot
the relationship, and estimate the accuracy from the best fit straight line. If when the
container was half-full as indicated by the potentiometer shown in Fig. 12.8b, the
output voltage was adjusted to be half the supply voltage using a resistor from Vout,
what would be the resistor value and would it be connected to 0 or 10 V? What would
be the accuracy from the best fit straight line with the resistor?