This applet simulates motion along a constrained path, such as a roller coaster would take (assuming it has safety wheels to keep it on the track in “up-side-down” situations, of course). The simulation offers a chance to explore a number of concepts associated with roller coaster physics, including conservation of energy, reaction forces and motion in a vertical plane. There are a number of example tracks which can be accessed via the drop down menu on the bottom right. The speed of the simulation can be modified by changing the calculation time step dt. recommended dt = 0.01 for accuracy results, dt = 0.05 is faster but may have computational error.

http://www.compadre.org/OSP/document/ServeFile.cfm?ID=8228&DocID=873

my source with the other files for the graphics are attached as the 2nd attachment, cos download the source file alone is not able to recreate the graphics of the roller coaster so use the zip for remixing, saved it into your EJS source folder
Michael Gallis is the original creator, i only remixed it, refined it and fixed some bugs in the drop down menu

/htdocs/ntnujava/ejsuser/14019/users/sgeducation/lookang/Roller/weeRollerCoaster07_pkg/weeRollerCoaster07.propertiesFull screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(885.3kB):double click downloaded file to run it. (72 times by 25 users) , Download EJS source (20 times by 14 users) View EJS source