name the device used often to change the resistance without changing the voltage source in an electric circuit