deflection of charged particle in magnetic field