variable resistor diagram circuit