using deviation of charged particles by the magnetic field