# NTNUJAVA: Virtual Physics Laboratory: Enjoy the fun of Physics

You need a java enabled browser (click for more information)

• N connected spring in vertical direction (with gravity) by:ahmedelshfieat 2010/06/09 01:15This following applet is [b]N connected spring in vertical direction (with gravity)[/b]
Created by prof Hwang Modified by Ahmed
Original project [url=http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=361.0]N connected spring in vertical direction (with gravity)[/url]

This center spring in this applet simulate the above situation.
The spring force $F(x)=-k (x-x_0)$ where $x_0$ is the equilibrium position.
The damping force is assumed to be $-b *\vec{v}$ , where b is the damping constant.
In the following there are n springs in the simulation, the mass at two ends only experience one force from the spring.
Howerer, the other particles in between experience two forces from two springs at different side.
For the nth particle (n!=0 and n!=N-1), where N is the total number of the spring
Assume y for the n-th particle is y_n,
The n-th sprint force $F_n =-k (y_{n}-y_{n+1}-L_0) -k (y_{n-1}-y_{n}-L_0)= k(2y_n- y_{n+1}-y_{n-1})$

If you unchecked the fixed checkbox, the center spring will be released and fall down.
You can adjust b value, adjust mass or spring constant to find new equilibrium positions.
You can drag any particles up/down, too!

uncheck fixed checkbox and click play to find the answer to the above question.