Question

Figure shows a battery connected across a uniform resistor Ro.
Asliding contact can move across the resistor from x =0 at the
leftto x =10cm at the right. Moving the contact changes how
muchresistance is to the left of the contact and how much is to
theright. Find the rate at which energy is dissipated in the
resistorR as a function of x. Plot the function for ε = 50V , R
=2000Ω and Ro = 100Ω.