APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Computer Program Detail Page

Item Picture
Magnetic Field JS Model
written by Wolfgang Christian
The Magnetic Field JavaScript model shows the field of a bar magnet, a coil and Earth and has a movable compass that reports the magnetic field values. The modelĀ is built by placing a group of magnetic dipoles along the bar magnet. Why is it reasonable to model a magnet using multiple dipoles?

The Magnetic Field JavaScript model was developed using version 5 of the Easy Java Simulations (EJS 5) modeling tool. Although EJS is a Java program, EJS 5 creates stand-alone JavaScript programs that run in almost any browser.

Please note that this resource requires at least version 1.5 of Java (JRE).
1 source code document is available
Subjects Levels Resource Types
Electricity & Magnetism
- Magnetic Fields and Forces
= Magnetic Fields
- Magnetic Materials
= Magnets
- Lower Undergraduate
- High School
- Instructional Material
= Interactive Simulation
Intended Users Formats Ratings
- Learners
- Educators
- text/html
- application/zip
  • Currently 0.0/5

Want to rate this material?
Login here!

Access Rights:
Free access
This material is released under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 license.
Rights Holder:
Wolfgang Christian
bar magnet, dipole, magnetic moment
Record Cloner:
Metadata instance created August 18, 2016 by Wolfgang Christian
Record Updated:
August 24, 2016 by Wolfgang Christian
Last Update
when Cataloged:
August 20, 2016
ComPADRE is beta testing Citation Styles!

Record Link
AIP Format
W. Christian, Computer Program MAGNETIC FIELD JS MODEL, Version 1.0 (2016), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14062&DocID=4459).
W. Christian, Computer Program MAGNETIC FIELD JS MODEL, Version 1.0 (2016), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14062&DocID=4459>.
APA Format
Christian, W. (2016). Magnetic Field JS Model (Version 1.0) [Computer software]. Retrieved July 16, 2024, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14062&DocID=4459
Chicago Format
Christian, Wolfgang. "Magnetic Field JS Model." Version 1.0. https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14062&DocID=4459 (accessed 16 July 2024).
MLA Format
Christian, Wolfgang. Magnetic Field JS Model. Vers. 1.0. Computer software. 2016. Java (JRE) 1.5. 16 July 2024 <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14062&DocID=4459>.
BibTeX Export Format
@misc{ Author = "Wolfgang Christian", Title = {Magnetic Field JS Model}, Month = {August}, Year = {2016} }
Refer Export Format

%A Wolfgang Christian %T Magnetic Field JS Model %D August 20, 2016 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14062&DocID=4459 %O 1.0 %O text/html

EndNote Export Format

%0 Computer Program %A Christian, Wolfgang %D August 20, 2016 %T Magnetic Field JS Model %7 1.0 %8 August 20, 2016 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14062&DocID=4459

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.

Citation Source Information

The AIP Style presented is based on information from the AIP Style Manual.

The APA Style presented is based on information from APA Style.org: Electronic References.

The Chicago Style presented is based on information from Examples of Chicago-Style Documentation.

The MLA Style presented is based on information from the MLA FAQ.

This resource and its subdocuments is stored in a shared folder.

You must login to access shared folders.

Magnetic Field JS Model:

Is Based On Easy Java Simulations Modeling and Authoring Tool

Use the Easy Java Simulations Modeling and Authoring Tool to edit and to explore the source code for the Magnetic Field JS Model.

relation by Wolfgang Christian

Know of another related resource? Login to relate this resource to it.
Save to my folders



Related Materials

Similar Materials

OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book