Author Topic: Vertical Spring  (Read 26212 times)

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Vertical Spring
« on: August 18, 2006, 03:44:00 pm »
Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
If java program did not show up, please download and install latest Java RUN TIME

This is an applet related to a spring sibject to gravitation force.




Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
If java program did not show up, please download and install latest Java RUN TIME

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Vertical Spring
« Reply #1 on: July 03, 2007, 08:50:12 am »
hihi, great stuff u made prof hwang.

i think this page didn't load well, the ejs button is missing :) It is not the same as the rest of ejs downable *.xml files.

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Vertical Spring
« Reply #2 on: July 10, 2007, 07:27:06 am »
It is fixed now.

rahmaniah

  • Newbie
  • *
  • Posts: 1
Re: Vertical Spring
« Reply #3 on: June 09, 2008, 02:53:40 pm »
Dear Mr. Hwang,

I am Nia, I had been studying in Institute of Technology Sepuluh November (ITS) Surabaya, Indonesia, majoring in Physics.
First of all, I’m sorry to disturb you again. And thanks for your reply during this time.
I use Ejs version 3.46. This is my source program with name circular spring.xml. Continuing my last questions at my email ;









•   How is the analytically equation, kinetic and potential energy from spring system as seen on the picture above with the particle amount of 8?
•   How can we know the analytical solution to get the acceleration equation?
If I run this system by choosing n = 5,  why the values from y6 (n=6) until  y8 (n=8) are still calculated from numerical data?

At last but not least, thanks for all your helps.



Trully yours,
Nia

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Vertical Spring
« Reply #4 on: June 09, 2008, 03:13:45 pm »
1. You can get velocity,height and mass for each particle in the simulation, so that you can calculate their kinetic energy and potential energy individually. And the sum of those will be the energy for the whole system.
2. EJS help you calculate the integration numerically. It would not obtain analytic equation for you.
3. If array were used in the evolution equation, for example 
d x[i]/dt =v[i]
, then the whole array x[n] will be evaluated.
If you do not want some of the value changed, you need to set their derivate value to zero.
For example:
for (int i=5;i<n;i++)v[i]=0.;

Did you check out Circular Spring Thing?
It is almost the same as your circularspring.xml (number of springs can be changed from 3-60).

smith88

  • Newbie
  • *
  • Posts: -7
Re: Vertical Spring
« Reply #5 on: August 19, 2011, 07:40:17 am »
Really this is a nice & effective sites. It is very helpful for us. these spammers are so articulate.