Ejs Action for the Harmonic Oscillator Model Documents

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

Main Document

Ejs Action for the Harmonic Oscillator Model 

written by Juan Aguirregabiria
edited by Wolfgang Christian

The Ejs Action for the Harmonic Oscillator model displays the trajectory of a simple harmonic oscillator by minimizing the classical action.  The simulation displays the endpoints of the motion (t,x) which can be changed by using the text boxes or dragging, and displays the new trajectory as well as calculates the physical trajectory (that minimizes the action).  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 Action for the Harmonic Oscillator 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_analytical_mechanics_action.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.

Last Modified June 4, 2014

This file has previous versions.

Source Code Documents

Ejs Action for the Harmonic Oscillator Model Source Code 

The source code zip archive contains an XML representation of the Ejs Action for the Harmonic Oscillator Model.   Unzip this archive in your Ejs workspace to compile and run this model using Ejs.

Published October 29, 2008
Last Modified June 4, 2014

This file has previous versions.