Considering magnetic field `B=B_(0)hatk`, and an electron enters with a velocity `v=v_(0)hati` and `a` cubical region (Faces parallel to coordinate planes.)
The force on electron, using magnetic lorentz force, is given by
`F=-e(v_(0)hatixxB_(0)hatk)=ev_(0)B_(0)hati`
Which revolves the electron in x-y plane.
The electric force `F=-eE_(0)hatK` accelerates e along z-axis which in turn encreases the radius of circuclar path and hence particle traversed on spiral path.