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
Balls in a Box JS Model
written by Wolfgang Christian
The Balls in a Box model shows that a system of particles is very sensitive to its initial conditions. In general, an isolated system of many particles that is prepared in a nonrandom configuration will change in time so as to approach its most random configuration where it is in equilibrium. This model explores what happens if the initial conditions are chosen in a very special way.

The default initial condition corresponds to eight stationary particles perfectly aligned on the x-axis. Two particles approach from the left and the right and collide with the aligned balls. The Ejs model solves Newton's second law of motion numerically, pauses when a collision is detected, applies conservation of energy and momentum to the collision, and then the simulation is resumed. Small changes in the initial conditions of the system can be made to explore the sensitivity of the motion to perturbations.

The Balls in a Box model was created using the JavaScript version of the Easy Java Simulations (Ejs) modeling tool.

Please note that this resource requires at least version 1.5 of Java.
2 source code documents are available
Subjects Levels Resource Types
Classical Mechanics
- Linear Momentum
= Conservation of Linear Momentum
- Newton's Second Law
= Interacting Objects
- Newton's Third Law
= Action/Reaction
Thermo & Stat Mech
- Kinetic and Diffusive Processes
= Approach to Equilibrium
- Lower Undergraduate
- Upper Undergraduate
- Instructional Material
= Interactive Simulation
Intended Users Formats Ratings
- Learners
- Educators
- text/html
- application/zip
- application/javascript
  • Currently 0.0/5

Want to rate this material?
Login here!


Access Rights:
Free access
Program released under GNU-GPL. Narrative is copyrighted.
License:
This material is released under a GNU General Public License Version 3 license.
Rights Holder:
Wolfgang Christian
Keywords:
molecular dynamics, sensitivity to initial conditions
Record Cloner:
Metadata instance created October 3, 2023 by Wolfgang Christian
Record Updated:
November 3, 2023 by Wolfgang Christian
Last Update
when Cataloged:
October 3, 2023
ComPADRE is beta testing Citation Styles!

Record Link
AIP Format
W. Christian, Computer Program BALLS IN A BOX JS MODEL, Version 1.0 (2023), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=16643&DocID=5804).
AJP/PRST-PER
W. Christian, Computer Program BALLS IN A BOX JS MODEL, Version 1.0 (2023), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=16643&DocID=5804>.
APA Format
Christian, W. (2023). Balls in a Box JS Model (Version 1.0) [Computer software]. Retrieved December 3, 2023, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=16643&DocID=5804
Chicago Format
Christian, Wolfgang. "Balls in a Box JS Model." Version 1.0. https://www.compadre.org/Repository/document/ServeFile.cfm?ID=16643&DocID=5804 (accessed 3 December 2023).
MLA Format
Christian, Wolfgang. Balls in a Box JS Model. Vers. 1.0. Computer software. 2023. Java 1.5. 3 Dec. 2023 <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=16643&DocID=5804>.
BibTeX Export Format
@misc{ Author = "Wolfgang Christian", Title = {Balls in a Box JS Model}, Month = {October}, Year = {2023} }
Refer Export Format

%A Wolfgang Christian %T Balls in a Box JS Model %D October 3, 2023 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=16643&DocID=5804 %O 1.0 %O text/html

EndNote Export Format

%0 Computer Program %A Christian, Wolfgang %D October 3, 2023 %T Balls in a Box JS Model %7 1.0 %8 October 3, 2023 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=16643&DocID=5804


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.

Balls in a Box 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 Balls in a Box JS Model.

relation by Wolfgang Christian

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

Contribute

Related Materials

Similar Materials

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