5. (10%) The conducting bar illustrated in Figure 5 moves on two frictionless, parallel rails in the presence of a uniform magnetic field directed into the page. The bar has mass \( m \), and its length is \( \ell \). The bar is given an initial velocity \( \vec{v}_i \) to the right and is released at time \( t = 0 \). find the velocity of the bar as a function of time.