variable resistor real life examples