The Physics Source website will be unavailable on Saturday, August 1 due to network maintenance at the American Center for Physics.

Coulomb's Law and Electric Field Package Applet Page

Coulomb's Law and Electric Field Package: Point Charge Applet

The EJS Point Charge model shows you the electric field near a point charge at the origin. A movable electric field detector reports the field direction and strength. Detector values can be recorded into a data table and analyzed using a built-in data analysis tool.

Student Worksheet

  1. Move the detector around. What do the colors represent? What color means stronger field? weaker field?
  2. Try changing the slider and see what happens. If you double the charge, does the value at the detector double? At all points?
  3. Now, move the detector around and record some data (by pushing the Record Data button in the Data Table that opens up in a second window. Verify that the distance from the point charge to the detector, r, is equal to (x2+y2)1/2. Explain why r is the distance between the charge and the detector.
  4. Record the electric field and distance data at a number of points (certainly more than five) and then click on the Wrench button to open up DataTool, a data analysis tool, with your recorded data in columns. Some notes on using DataTool:
    • DataTool automatically draws lines between nearby points and you may find this confusing. Click on the checkbox with a line through it (above the data) to remove the connecting lines.
    • If you want DataTool to Fit the data, click the Fit checkbox. Click on Auto-fit to let the computer complete the best Line fit. This is probably not a good fit.
    • Since the electric field decreases as you get further way, you will need to try an equation not in the list by editing the current equation in Fit Builder. For example, if you want to fit the data to a/x3 (and have the program automatically find the value of a), double-clicking on the equation of the line (a*x+b) will automatically open the Fit Builder. In this case, since you only want to fit one parameter, first delete parameter "b" (from the parameter list) and then type your new Line1 = a/x^3.
    • Try E = a/r, E=a/r2 and E=a/r3. Which is the best fit?
  5. For your equation, if r is very large, what should the value of E be? Is this true for your fit?
  6. If r is measured in meters and E is given in N/C, what is the charge of the yellow charge at the orgin?


This applet opens a second window with a Data Table where you can Record data.


The Point Charge Model was created by Wolfgang Christian, Francisco Esquembre and Anne J Cox using the Easy Java Simulations (EJS) authoring and modeling tool. Exercises written by Anne J Cox.

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
Additional information on this applet can be found in the Physics Source comPADRE collection.