Laplace transforms:Mass-Spring Oscillator: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 64: Line 64:


<math>\frac{k}{m}=w_0^2</math>
<math>\frac{k}{m}=w_0^2</math>


Once we get the Laplace transform into the correct form, we have:


<math>\mathbf{X}(s)=x_0\frac{s}{s^2+w_0^2}+\frac{v_0}{w_0}\frac{w_0}{s^2+w_0^2}</math>


Now we take the inverse Laplace transform:


<math>\mathcal{L}_s^{-1}\left\{x_0\frac{s}{s^2+w_0^2}\right\}=x_0cos(w_0t)</math>


<math>\mathcal{L}_s^{-1}\left\{\frac{v_0}{w_0}\frac{w_0}{s^2+w_0^2}\right\}=\frac{v_0}{w_0}sin(w_0t)</math>


Now that we are back in the time domain we just add the two parts together and we have:


<math>x(t)=x_0cos(w_0t)+\frac{v_0}{w_0}sin(w_0t)</math>


So we have found the equation that governs the motion of the spring mass system, all that is left is putting in constants for the variables to find numerical answers for any problem of this type.

Revision as of 12:53, 20 October 2009

Problem Statement:

An ideal mass m sliding on a frictionless surface, attached via an ideal spring k to a rigid wall. The spring is at rest when the mass is centered at x=0. Find the equation of motion that the spring mass follows.

Solution:

By Newton's first law:



By Hooke's law:



By Newton's third law of motion that states every action produces an equal and opposite reaction, we have f_k = -f_m. That is, the force f_k applied by the mass to the spring is equal and opposite to the accelerating force f_m exerted in the -x direction by the spring on the mass.



We now have a second order differential equation that governs the motion of the mass. Taking the Laplace transform of both sides gives:



    

    

    


Now that we have the Laplace transform of the differential equation that governs the motion of the spring and mass system, we need to solve for X(s).

Using the idea that the initial position x=0 and velocity is just the derivative of position:



Now, let's split it into two parts.



We know from Laplace transforms that:



From this we know that we are going to have two parts to our solution, and sine wave and a cosine wave. We can also tell that:



Once we get the Laplace transform into the correct form, we have:



Now we take the inverse Laplace transform:




Now that we are back in the time domain we just add the two parts together and we have:



So we have found the equation that governs the motion of the spring mass system, all that is left is putting in constants for the variables to find numerical answers for any problem of this type.