Black Box with a switch and a potentiometer

In this problem, we determine the parameters of elements in a bridge circuit with a button and a potentiometer.