This applet created by prof Hwang
Modified by Ahmed
Original project [url=http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1086.0]Spring connect two objects in graviy field[/url]

If L0 is the original length of the spring.
The equilibrium poisition y1=y2+L0-m1*g/k;
F1=m(d2y1/dy12)= -k*(y1-y2-L0)-b*vy1;

Is it fun to play with it?

/htdocs/ntnujava/ejsuser/37048/users/br/ahmed/massspring_pkg/massspring.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(1473.2kB):double click downloaded file to run it. (27 times by 6 users) , Download EJS source (2 times by 1 users) View EJS source