OSP-based Programs for Advanced Physics:
Classical Orbit Demos

 

The classical mechanics materials use the following three OSP programs which are found in the "Davidson package" org.opensourcephysics.davidson:

gravitation.PlanetApp shows a planet orbiting a massive central star in Cartesian coordinates. The initial position (x,y) and velocity (vx,vy) of the orbiting mass can be set.
 
gravitation.ClassicalApp shows a planet orbiting a massive central star in polar coordinates. The initial position (r,φ) and velocity (vr,vφ) of the orbiting mass can be set.
 
nbody.OrbitApp shows two or more objects that are gravitational attracted to each other. Any number of objects can be added with any mass, initial position, and initial velocity.
 

 

This example shows the presentation mode for the classical orbit program using the same parameters of the previous example.