Magnetic Field in 1-D

Current in the wire on the left
-10 A +10 A
Current in the wire on the right
-10 A +10 A

Click-and-drag the wires to move them left or right. The wire on the left is confined to the region to the left of the origin; the wire on the right is confined to the region to the right of the origin. In this simulation, you can see the graph of the magnetic field on the x-axis as a function of position. On the graph, the magnetic field is shown as positive if the net field at that position is directed up, and the field is shown as negative if the field is directed down. Using the sliders, you can adjust the values of the currents.

Simulation first posted on 2-16-2016. Written by Andrew Duffy

Creative Commons License
This work by Andrew Duffy is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
This simulation can be found in the collection at

The counter has been running on this page since 8-13-2018. The number of people accessing the page since then is: