written by
Wolfgang Christian and Fu-Kwun Hwang
technical implementer:
Robert Mohr
The EJSMagnetic Field from Loops model computes the B-field created by an electric current through a straight wire, a closed loop, and a solenoid. Users can adjust the vertical position of the slice through the 3D field.
The Magnetic Field from Loops model was created using the Easy Java Simulations (Ejs) modeling tool. It is distributed as a ready-to-run (compiled) Java archive. Double clicking the ejs_ntnu_MagneticFielfFromLoops.jar file will run the program if Java is installed. Ejs is a part of the Open Source Physics Project and is designed to make it easier to access, modify, and generate computer models. Additional Ejs models for classical mechanics are available. They can be found by searching ComPADRE for Open Source Physics, OSP, or Ejs.
Please note that this resource requires
at least version 1.5 of Java.
Magnetic Field from Loops Model source code
The source code zip archive contains an XML representation of the Magnetic Field from Loops Model. Unzip this archive in your Ejs workspace to compile and run this model using Ejs. download 24kb .zip
Last Modified: June 10, 2014
previous versions
<a href="https://www.compadre.org/OSP/items/detail.cfm?ID=8311">Christian, Wolfgang, and Fu-Kwun Hwang. "Magnetic Field from Loops Model." Version 1.0.</a>
W. Christian and F. Hwang, Computer Program MAGNETIC FIELD FROM LOOPS MODEL, Version 1.0 (2008), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=8311&DocID=915).
W. Christian and F. Hwang, Computer Program MAGNETIC FIELD FROM LOOPS MODEL, Version 1.0 (2008), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=8311&DocID=915>.
Christian, W., & Hwang, F. (2008). Magnetic Field from Loops Model (Version 1.0) [Computer software]. Retrieved December 7, 2024, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=8311&DocID=915
Christian, Wolfgang, and Fu-Kwun Hwang. "Magnetic Field from Loops Model." Version 1.0. https://www.compadre.org/Repository/document/ServeFile.cfm?ID=8311&DocID=915 (accessed 7 December 2024).
%A Wolfgang Christian %A Fu-Kwun Hwang %T Magnetic Field from Loops Model %D November 17, 2008 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=8311&DocID=915 %O 1.0 %O application/java
%0 Computer Program %A Christian, Wolfgang %A Hwang, Fu-Kwun %D November 17, 2008 %T Magnetic Field from Loops Model %7 1.0 %8 November 17, 2008 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=8311&DocID=915
Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.
rationale for remix: To allow for students to draw the pattern of the magnetic field due to currents in straight wires and in solenoids and state the effect on the magnetic field of changing the magnitude and/or direction of the current.