The Open Source Physics website will be unavailable Friday evening through Saturday afternoon as electrical work occurs in the American Center of Physics server room. Down time will begin at 6PM Eastern Time on Friday. Service is expected to resume by 6PM on Saturday, July 30.

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Mass-Spring System

Return to the EJS Modeling forum
Login to post to this thread

Mass-Spring System - Mar 7, 2013 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?

Current Replies - View all
Re: Mass-Spring System   (lookang - Mar 7, 2013 at 11:05PM)
Re: Re: Mass-Spring Syste...   (Feliphe Ferreira - Mar 14, 2013 at 8:20PM)
Re: Re: Re: Mass-Spring S...   (lookang - Mar 14, 2013 at 9:32PM)
Re: Re: Re: Re: Mass-Spri...   (Marco Pacheco - Mar 15, 2013 at 12:08AM)
Re: Re: Re: Re: Re: Mass-...   (lookang - Mar 15, 2013 at 2:42AM)
Re: Re: Re: Re: Re: Re: M...   (Marco Pacheco - Mar 15, 2013 at 9:35AM)
The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics