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.
Updated 7-22-2024 to fix an issue with the initial current values.
The counter has been running on this page since 8-13-2018. The number of people accessing the page since then is: