MyPhysicsLab – Roller Coaster with 2 Balls

Instructions: drag a ball, or try changing control values (gravity, damping, etc.)

vertical axis:    horizontal axis:    graph type:

Click to select a different track:
hump loop circle infinity oval spiral

Physics

This simulation is a variation of the Roller Coaster with Spring, please see that page for more information on the physics and how the simulation is done. The difference here is that the other end of the spring is attached to another ball on the track, instead of being fixed.

We have 4 variables in this simulation:

The force equations for each ball are identical to that shown in Roller Coaster with Spring except that the position of the "fixed end" of the spring is replaced by the position of the other ball.