potentiometer connected as a variable resistor

potentiometer connected as a variable resistor