
Science SPORE Prize
November 2011

The Open Source Physics Project is supported by NSF DUE-0442581.
|
Mass-Spring System
post and replies
Return to the Mass-Spring System thread
Login to post to this thread
|
Mass-Spring System
- Mar 7 at 10:34PM
|
Feliphe Ferreira
2 Posts
|
I am a student of physics, and I'm developing an application that involves a vertical mass-spring system, but there are two problems in my simulation. 1 - When I change the elastic constant of the spring, the energy is not conserved. There isn't any variable for this. 2 - The spring's support swings along with the movement of the mass-spring. How can I fix these problems?
|
|
Re: Re: Mass-Spring System - Mar 14 8:20PM
|
Feliphe Ferreira
2 Posts
|
Thanks for replying. Could you send me the EJS file of the simulation?
|
|
Re: Re: Re: Re: Mass-Spring System - Mar 15 12:08AM
|
Marco Pacheco
3 Posts
|
Ciao Lookang, I think that Feliphe ask you about your simulation source code (.ejs file) instead the compiled one (.jar).
Cheers, Marco Pacheco
|
|
Re: Re: Re: Re: Re: Mass-Spring System - Mar 15 2:42AM
|

lookang
49 Posts
|
actually, every EJS.jar file is zipped with the source codes. :) just unzip the .jar file with winzip.exe or equivalent instead of javarun navigate to the folders users and u can find the .ejs too.
attached as requested
Attached File: ejs_verticalspringwee.zip
http://weelookang.blogspot.sg
|
|
Re: Re: Re: Re: Re: Re: Mass-Spring System - Mar 15 9:35AM
|
Marco Pacheco
3 Posts
|
Thanks a lot for the very useful information.
My best, Marco Pacheco
|
|