Education Prize Logo
Science SPORE Prize
November 2011

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

Ejs Two Orbiting Masses with Relative Motion Model Documents

This material has 2 associated documents. Select a document title to view a document's information.

Main Document

Ejs Two Orbiting Masses with Relative Motion Model 

written by Juan Aguirregabiria
edited by Wolfgang Christian

The Ejs Two Orbiting Masses with Relative Motion model displays the dynamics of two masses orbiting each other subject to Newtonian gravity.  The simulation displays the motion of the masses in the inertial reference frame and the relative motion as seen from one of the masses.  The initial energy of the system can be changed via textbox and the ratio of masses can be changed via a slider.  You can modify this simulation if you have Ejs installed by right-clicking within the plot and selecting "Open Ejs Model" from the pop-up menu item.  

Ejs Two Orbiting Masses with Relative Motion 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_ehu_central_forces_relative.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 Newtonian mechanics are available.  They can be found by searching ComPADRE for Open Source Physics, OSP, or Ejs.

Last Modified June 19, 2013

This file has previous versions.

Source Code Documents

Ejs Two Orbiting Masses with Relative Motion Model Source Code 

The source code zip archive contains an XML representation of the Ejs Two Orbiting Masses with Relative Motion Model.  Unzip this archive in your Ejs workspace to compile and run this model using Ejs.

Published September 29, 2008
Last Modified September 5, 2011

This file has previous versions.

The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics