A wire ab of length l, mass m and resistance R slides on a smooth, thick pair of metallic rails joined at the bottom as shown in figure. The plane of the rails makes an angle
θ with the horizontal. A vertical magnetic field B exists in the region. If the wire slides on the rails at a constant speed v, show that
B=√mgRsinθvl2cos2θ