The following is a real simulation of Newton's cradle (it does collision calculation between balls).

You can select an ID with slider, then change it's mass to check out what will happen when mass are not the same.
[hide]
[/hide]

/htdocs/ntnujava/ejsuser/2/users/ntnu/fkh/newtonscadlereal2_pkg/newtonscadlereal2.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(976.4kB):double click downloaded file to run it. (2 times by 2 users) , Download EJS source View EJS source

However, the xml did not work properly with latest EJS. If you want to run it offline, please download the attached jar file.

The above two applets were created in 2008. But I only post it at my Chinese web site. [url=http://www.phy.ntnu.edu.tw/demolab/phpBB/viewtopic.php?topic=19870]???????[/url]