Replacement of a potentiometer

Interesting food for thought.
I do some research.