Image of trajectory of particle in crossed E and B fields

E x B Field Trajectory

The EJS E x B Field Trajectory Model shows the motion of a charged particle in a constant electric and magnetic field. The model is initially incomplete and students must complete the model (by adding the appropriate equations of motion). Ejs must be installed to complete the model. Information about EJS is available at: <http://www.um.es/fem/Ejs/> and in the OSP ComPADRE collection <http://www.compadre.org/OSP/>.

Exercises:

  1. Run the simulation. Notice that changing the magnetic field does not impact the motion. That is because the Lorentz force law is not complete.  Right-click on the simulation and Open EJS Model.  Choose Model and look at the Evolution page. Right now, the force law governing the motion is simply:

        F = q E   or    a = (q/m)*E

The evolution page needs six equations for this: three to define velocity and three to define acceleration.  Why are there three of each?

  1. In order for the magnetic field to impact the motion, you need to include the magnetic field in the Lorentz equation:

    F = q (E + v x B)

    the x-component of this equation is 

    Fx = q*(Ex + vy*Bz - vz*By). 

Why? What are the rest of the components?

    Fy =                                                 Fz = 

  1. Complete the EJS model using the appropriate acceleration equations.
  2. To get the words, Incomplete Model off the screen, go to the Variables page, choose the Display tab and change ModelComplete from false to true.
  3. Test to see that you have set up the model correctly (for q/m = 1):

References:

 

Credits:

The E x B Trajectory Model and Exercises were created by Anne J Cox using the Easy Java Simulations (EJS) authoring and modeling tool. 

 

You can examine and modify a compiled EJS model if you run the program by double clicking on the model's jar file.  Right-click within the running program and select "Open EJS Model" from the pop-up menu to copy the model's XML description into EJS.  You must, of course, have EJS installed on your computer.

 

Information about EJS is available at: <http://www.um.es/fem/Ejs/> and in the OSP ComPADRE collection <http://www.compadre.org/OSP/>.