Laplace transforms:Mass-Spring Oscillator: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 31: Line 31:
&nbsp;&nbsp;&nbsp;&nbsp;<math>=m\mathcal{L}_s\left\{\ddot{x}\right\}+k\mathcal{L}_s\left\{x\right\}</math>
&nbsp;&nbsp;&nbsp;&nbsp;<math>=m\mathcal{L}_s\left\{\ddot{x}\right\}+k\mathcal{L}_s\left\{x\right\}</math>


&nbsp;&nbsp;&nbsp;&nbsp;<math>=m\left\{s[s\mathbf{x}(s)-x(0)]-\dot{x}(0)\right\}</math>
&nbsp;&nbsp;&nbsp;&nbsp;<math>=m\left\{s[s\mathbf{X}(s)-x(0)]-\dot{x}(0)\right\}+k\mathbf{X}(s)</math>


&nbsp;&nbsp;&nbsp;&nbsp;<math>=ms^2\mathbf{X}(s)-msx(0)-m\dot{x}(0)+k\mathbf{X}(s)</math>


\left\{s\left\[\right\]\right\}


\mathbf{x}\left\(s\right\)
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).
-x\left\(0\right\)
 
-\dot{x}\left\(0\right\)
<math>\mathbf{X}(s)=\frac{sx(0)+\dot{x}}{s^2+\frac{k}{m}} </math>
+k\mathbf{x}(s\right\)</math>
 
Using the idea that the initial position x=0 and velocity is just the derivative of position:
 
 
<math>\mathbf{X}(s)=\frac{sx_0+v_0}{s^2+\frac{k}{m}} </math>
 
 
Now, let's split it into two parts.
 
 
<math>\mathbf{X}(s)=\frac{sx_0+v_0}{s^2+\frac{k}{m}}~~~~~\Rightarrow~~~~~\mathbf{X}(s)=\frac{sx_0}{s^2+\frac{k}{m}}+\frac{v_0}{s^2+\frac{k}{m}}</math>
 
 
We know from Laplace transforms that:
 
 
<math>\mathcal{L}_s\left\{sin(w_0t)\right\}=\frac{w_0}{s^2+w_0^2}</math>
 
<math>\mathcal{L}_s\left\{cos(w_0t)\right\}=\frac{s}{s^2+w_0^2}</math>
 
 
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:
 
 
<math>\frac{k}{m}=w_0^2</math>

Revision as of 12:36, 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:


F=mafm(t)=mx¨


By Hooke's law:


F=kxfk(t)=mx


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.


fm(t)+fk(t)=0mx¨(t)+kx(t)=0


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


0=s{mx¨+kx}

    =ms{x¨}+ks{x}

    =m{s[sX(s)x(0)]x˙(0)}+kX(s)

    =ms2X(s)msx(0)mx˙(0)+kX(s)


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).

X(s)=sx(0)+x˙s2+km

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


X(s)=sx0+v0s2+km


Now, let's split it into two parts.


X(s)=sx0+v0s2+kmX(s)=sx0s2+km+v0s2+km


We know from Laplace transforms that:


s{sin(w0t)}=w0s2+w02

s{cos(w0t)}=ss2+w02


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:


km=w02