Deviation of charge in magnetic field
Consider a positive charge of charge + q & mass m fired horizontally in to a region of uniform magnetic field acting normally inwards to the plane of as shown in the diagram.
Let x < r be the thickness of the magnetic field region. Let δ is the deviation suffered by the charge particle as it comes out of the region of magnetic field. From diagram we can write