The magnetic field is always in the y direction, However, you can enter Ex,Ey,Ez to add electric field to the system.
The force for charge particle in the electric and magnetic field is \vec{F}=q\vec{E}+ q\vec{v}\times\vec{B}
If the initial velocity is proportional to the magnetic field and there is no electric field presented, then the force \vec{F} is always perpendicular to the velocity \vec{v} and magnetic fiel d\vec{B}, which means that it is a circular motion q v B= m \frac{v^2}{r}, so P=mv =qBr , or \omega=\tfrac{v}{r}=\tfrac{qB}{m} which is a independent on the velocity of the particle. it only depends on \tfrac{q}{m} and magnetic field B.

This java applet tries to show :
    The motion of a charged particle in a uniform and constant electric/magnetic field
  1. Particle starts at the origin of the coordinate system

  2. Blue arrow starts from the origin shows the magnetic field (always in the Y direction)

  3. Red arrow starts from the origin shows the electric field.

  4. LEFT Click near the tip of the arrow, and drag the mouse to change the E field (Both direction and magnitude),
    The black arrow on X-Z plane shows the drift velocity Vd

  5. You can also key in values in the textFields to change E / B fields.

  6. Do not forget to hit the RETURN key after enter the value into the textfield.

  7. Change the coordinate system:

    1. Translation : LEFT Click near the origin, and drag the mouse

    2. Rotation: RIGHT Click within the window and drag the mouse

  8. Change the initial Velocity V:

  9. Left click the mouse button within the window and drag the mouse

  10. The above changes depend on where you press the mouse button.

  11. (X-Y, Y-Z or Z-X plane, watch the color of the axis)

  • Press start button to start the animation

    1. The position, initial velocity and the period of the motion are shown at the top left region.

    2. During the animation

      1. If the trajectory is not on the X-Z plane :

        1. Its color is GREEN

        2. The black curve shows projection of the trajectory on the X-Z plane.

      2. RED arrow reprenents velocity of the charge

      3. BLUE arrow represents the force acting on the charge.

      4. Press the LEFT mouse button will suspend the animation, press it again to resume.

      5. Click the checkbox on the right to save all the traces

      6. Drag the RIGHT mouse button to change the viewing angle.

        1. Animation resumes when you release the mouse button -- with the same initial condition

        2. If the trace is saved, you can view the trace from various angle.

    3. Press Reset button to reset the condition

    You might want to check out [url=]EJS version of Charged particle motion in E/B Field[/url]

    Physics Law:
      The Lorentz frce acting on a point charge q is given by F = m a = q ( E + V X B )
    1. If E=0. ˇGF = q V X B is perpendicular to both V and B
      (example 1)

      1. If initial velocity V is perpendicular to magnetic field B, the change will move in a circular orbit with

      2. P = m V = q R X B

        (R is the radius of the circular motion)

      3. The period of the motion is not depend on the velocity

      the angular frequency (also known as cyclotron frequency)

        w = q B / m

      1. Try with larger q/m value (let q/m=0.1) ! charge moves along B field

    2. If EXB exists, the charge will drift in that direction with drift velocity Vdrift = EXB/|B|2.

    3. called "E cross B drift"
      ( example 2)

      ( example 3)

      Try it with a larger q/m value ( let q/m=0.1 => smaller radius R)!