The wire AB shown in the figure below has mass m, resistance r and it can slide on the smooth horizontal parallel rails separated by a distance l. A uniform magnetic field B exists in the rectangular region and a resistance R connects the rails outside the field region. At t = 0, the wire AB is pushed towards right with a speed v_0.
Find out the current in the loop at an instant when the speed of the wire is v. Find out the velocity v as a function of x. (Assume that the resistance of the rails is negligible)