In an experiment with a potentiometer