NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
November 29, 2020, 12:48:31 am

To live close to great minds is the best kind of education. ..."John Buchan (1875~1940 Scotticsh historian, Governor General of Canada)"

 Pages: [1]   Go Down
 Author Topic: N connected spring in vertical direction (with gravity)  (Read 3975 times) 0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
ahmedelshfie
Moderator
Hero Member

Offline

Posts: 954

 « Embed this message on: June 09, 2010, 12:15:35 am » posted from:SAO PAULO,SAO PAULO,BRAZIL

This following applet is N connected spring in vertical direction (with gravity)
Created by prof Hwang Modified by Ahmed
Original project N connected spring in vertical direction (with gravity)

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.

Embed a running copy of this simulation

Embed a running copy link(show simulation in a popuped window)
Full screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list