A floating sensor in a certain fuel tank is connected to a variable resistor (often called a potentiometer) such that a full tank (100 liters) corresponds to 1 ohm and an empty tank corresponds to 10 ohm.
(a) Design a circuit that provides an output voltage which indicates the amount of fuel remaining, so that 1 V=empty and 5 V=full.
(b) Design a circuit to indicate the rate of fuel consumption by providing a voltage output calibrated to yeild 1V = 1 L/s.