<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://fweb.wallawalla.edu/class-wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Brandon.plubell</id>
	<title>Class Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://fweb.wallawalla.edu/class-wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Brandon.plubell"/>
	<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php/Special:Contributions/Brandon.plubell"/>
	<updated>2026-04-06T12:50:02Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=9621</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=9621"/>
		<updated>2010-09-27T22:42:05Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 03:26, 9 November 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 1 - Use Laplace Transformations=&lt;br /&gt;
By Brandon Plubell&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Laplace Transform==&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Inverse Laplace Transform==&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Equation of Motion==&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlotOctave-1.zip|Octave Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
=Part 2 - Final and Initial Value Theorems=&lt;br /&gt;
&lt;br /&gt;
==Initial Value Theorem==&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Final Value Theorem==&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
=Part 3 - Bode Plot=&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Part 4 - Breakpoints and Asymptotes on Bode Plot=&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.  It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Part 5 - Convolution=&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).  Questions left: How could the result be adjusted to account for initial conditions?&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
&lt;br /&gt;
(Laplace in blue solid, Convolution in red dotted)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 6 - State Equation=&lt;br /&gt;
&lt;br /&gt;
Choose the state variable to be &amp;lt;math&amp;gt; x\frac{}{} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \dot{x} &amp;lt;/math&amp;gt;, then following the example from class, the state equation is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  \dot{x} \\&lt;br /&gt;
  \ddot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 &amp;amp; 1  \\&lt;br /&gt;
  \frac{-k}{m} &amp;amp; \frac{-\lambda}{m}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\,&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  x \\&lt;br /&gt;
  \dot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
+&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 \\&lt;br /&gt;
  1&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\, g \, \sin{\theta}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Appendix A=&lt;br /&gt;
&lt;br /&gt;
==Poles==&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=6504</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=6504"/>
		<updated>2009-12-13T23:25:12Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-2.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD2-2.jpg|right|FBD for m1]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD1-2.jpg|right|FBD for m1]]&lt;br /&gt;
&lt;br /&gt;
Sum of the forces in the x direction yields&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_2} = m_2 \ddot{x}_2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_2 \ddot{x}_2=F_{s_2} - m_2 g&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_{s_2} = k_2(L_2+x_1-x_2)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_2=-g + \frac{k_2}{m_2} \, L_2 + \frac{k_2}{m_2} \, x_1 - \frac{k_2}{m_2} \, x_2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And for &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_1} = m_1 \ddot{x}_1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_1 \ddot{x}_1=F_{s_1} + F - m_1 g - F_{s_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_{s_1} = k_1(L_1-x_1)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&amp;lt;math&amp;gt;F \frac{}{} = F(t)&amp;lt;/math&amp;gt; is the input force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_1 = - g +\frac{1}{m_1} \, F + \frac{k_1}{m_1} \, L_1 - \frac{k_1}{m_1} \, x_1&lt;br /&gt;
-\frac{k_2}{m_1} \, L_2 - \frac{k_2}{m_1} \, x_1 + \frac{k_2}{m_1} \, x_2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
The general form of the state equation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\underline{\dot{x}}(t) = \widehat{A} \, \underline{x}(t) + \widehat{C} \, \underline{u}(t)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;\widehat{M}&amp;lt;/math&amp;gt; denotes a matrix and &amp;lt;math&amp;gt;\underline{v}&amp;lt;/math&amp;gt; denotes a vector.&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;x_1 \frac{}{}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\dot{x}_1 \frac{}{}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_2 \frac{}{}&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\dot{x_2} \frac{}{}&amp;lt;/math&amp;gt; be the state variables, then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\dot{x}_1 \\&lt;br /&gt;
\ddot{x}_1 \\&lt;br /&gt;
\dot{x}_2 \\&lt;br /&gt;
\ddot{x}_2&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                                &amp;amp; 1 &amp;amp; 0                &amp;amp; 0 \\&lt;br /&gt;
\frac{-k_1}{m_1}-\frac{k_2}{m_1} &amp;amp; 0 &amp;amp; \frac{k_2}{m_1}  &amp;amp; 0 \\&lt;br /&gt;
0                                &amp;amp; 0 &amp;amp; 0                &amp;amp; 1 \\&lt;br /&gt;
\frac{k_2}{m_2}                  &amp;amp; 0 &amp;amp; \frac{-k_2}{m_2} &amp;amp; 0&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_1       \\&lt;br /&gt;
\dot{x}_1 \\&lt;br /&gt;
x_2       \\&lt;br /&gt;
\dot{x}_2&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0  &amp;amp; 0               &amp;amp; 0                &amp;amp; 0             \\&lt;br /&gt;
-1 &amp;amp; \frac{k_1}{m_1} &amp;amp; \frac{-k_2}{m_1} &amp;amp; \frac{1}{m_1} \\&lt;br /&gt;
0  &amp;amp; 0               &amp;amp; 0                &amp;amp; 0             \\&lt;br /&gt;
-1 &amp;amp; 0               &amp;amp; \frac{k_2}{m_2}  &amp;amp; 0&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
g    \\&lt;br /&gt;
L_1  \\&lt;br /&gt;
L_2  \\&lt;br /&gt;
F  &lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5824</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5824"/>
		<updated>2009-11-20T07:56:07Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-2.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be zero for the time being.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD2-2.jpg|right|FBD for m1]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD1-2.jpg|right|FBD for m1]]&lt;br /&gt;
&lt;br /&gt;
Sum of the forces in the x direction yields&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_2} = m_2 \ddot{x}_2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_2 \ddot{x}_2=F_{s_2} - m_2 g&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_{s_2} = k_2(L_2+x_1-x_2)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_2=-g + \frac{k_2}{m_2} \, L_2 + \frac{k_2}{m_2} \, x_1 - \frac{k_2}{m_2} \, x_2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And for &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_1} = m_1 \ddot{x}_1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_1 \ddot{x}_1=F_{s_1} + F - m_1 g - F_{s_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_{s_1} = k_1(L_1-x_1)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&amp;lt;math&amp;gt;F \frac{}{} = F(t)&amp;lt;/math&amp;gt; is the input force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_1 = - g +\frac{1}{m_1} \, F + \frac{k_1}{m_1} \, L_1 - \frac{k_1}{m_1} \, x_1&lt;br /&gt;
-\frac{k_2}{m_1} \, L_2 - \frac{k_2}{m_1} \, x_1 + \frac{k_2}{m_1} \, x_2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
The general form of the state equation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\underline{\dot{x}}(t) = \widehat{A} \, \underline{x}(t) + \widehat{C} \, \underline{u}(t)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;\widehat{M}&amp;lt;/math&amp;gt; denotes a matrix and &amp;lt;math&amp;gt;\underline{v}&amp;lt;/math&amp;gt; denotes a vector.&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;x_1 \frac{}{}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\dot{x}_1 \frac{}{}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_2 \frac{}{}&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\dot{x_2} \frac{}{}&amp;lt;/math&amp;gt; be the state variables, then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\dot{x}_1 \\&lt;br /&gt;
\ddot{x}_1 \\&lt;br /&gt;
\dot{x}_2 \\&lt;br /&gt;
\ddot{x}_2&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                                &amp;amp; 1 &amp;amp; 0                &amp;amp; 0 \\&lt;br /&gt;
\frac{-k_1}{m_1}-\frac{k_2}{m_1} &amp;amp; 0 &amp;amp; \frac{k_2}{m_1}  &amp;amp; 0 \\&lt;br /&gt;
0                                &amp;amp; 0 &amp;amp; 0                &amp;amp; 1 \\&lt;br /&gt;
\frac{k_2}{m_2}                  &amp;amp; 0 &amp;amp; \frac{-k_2}{m_2} &amp;amp; 0&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_1       \\&lt;br /&gt;
\dot{x}_1 \\&lt;br /&gt;
x_2       \\&lt;br /&gt;
\dot{x}_2&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0  &amp;amp; 0               &amp;amp; 0                &amp;amp; 0             \\&lt;br /&gt;
-1 &amp;amp; \frac{k_1}{m_1} &amp;amp; \frac{-k_2}{m_1} &amp;amp; \frac{1}{m_1} \\&lt;br /&gt;
0  &amp;amp; 0               &amp;amp; 0                &amp;amp; 0             \\&lt;br /&gt;
-1 &amp;amp; 0               &amp;amp; \frac{k_2}{m_2}  &amp;amp; 0&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
g    \\&lt;br /&gt;
L_1  \\&lt;br /&gt;
L_2  \\&lt;br /&gt;
F  &lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5823</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5823"/>
		<updated>2009-11-20T07:53:57Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-2.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be zero for the time being.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD2-2.jpg|right|FBD for m1]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD1-2.jpg|right|FBD for m1]]&lt;br /&gt;
&lt;br /&gt;
Sum of the forces in the x direction yields&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_2} = m_2 \ddot{x}_2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_2 \ddot{x}_2=F_{s_2} - m_2 g&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_{s_2} = k_2(L_2+x_1-x_2)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_2=-g + \frac{k_2}{m_2} \, L_2 + \frac{k_2}{m_2} \, x_1 - \frac{k_2}{m_2} \, x_2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And for &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_1} = m_1 \ddot{x}_1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_1 \ddot{x}_1=F_{s_1} + F - m_1 g - F_{s_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_{s_1} = k_1(L_1-x_1)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&amp;lt;math&amp;gt;F \frac{}{} = F(t)&amp;lt;/math&amp;gt; is the input force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_1 = - g +\frac{1}{m_1} \, F + \frac{k_1}{m_1} \, L_1 - \frac{k_1}{m_1} \, x_1&lt;br /&gt;
-\frac{k_2}{m_1} \, L_2 - \frac{k_2}{m_1} \, x_1 + \frac{k_2}{m_1} \, x_2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
The general form of the state equation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\underline{\dot{x}}(t) = \widehat{A} \, \underline{x}(t) + \widehat{C} \, \underline{u}(t)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;\widehat{M}&amp;lt;/math&amp;gt; denotes a matrix and &amp;lt;math&amp;gt;\underline{v}&amp;lt;/math&amp;gt; denotes a vector.&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;x_1 \frac{}{}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\dot{x}_1 \frac{}{}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_2 \frac{}{}&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\dot{x_2} \frac{}{}&amp;lt;/math&amp;gt; be the state variables, then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\dot{x}_1 \\&lt;br /&gt;
\ddot{x}_1 \\&lt;br /&gt;
\dot{x}_2 \\&lt;br /&gt;
\ddot{x}_2&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                &amp;amp; 1 &amp;amp; 0                &amp;amp; 0 \\&lt;br /&gt;
\frac{-k_1}{m_1} &amp;amp; 0 &amp;amp; \frac{k_2}{m_1}  &amp;amp; 0 \\&lt;br /&gt;
0                &amp;amp; 0 &amp;amp; 0                &amp;amp; 1 \\&lt;br /&gt;
0                &amp;amp; 0 &amp;amp; \frac{-k_2}{m_2} &amp;amp; 0&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_1       \\&lt;br /&gt;
\dot{x}_1 \\&lt;br /&gt;
x_2       \\&lt;br /&gt;
\dot{x}_2&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0  &amp;amp; 0               &amp;amp; 0                &amp;amp; 0             \\&lt;br /&gt;
-1 &amp;amp; \frac{k_1}{m_1} &amp;amp; \frac{-k_2}{m_1} &amp;amp; \frac{1}{m_1} \\&lt;br /&gt;
0  &amp;amp; 0               &amp;amp; 0                &amp;amp; 0             \\&lt;br /&gt;
-1 &amp;amp; 0               &amp;amp; \frac{k_2}{m_2}  &amp;amp; 0&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
g    \\&lt;br /&gt;
L_1  \\&lt;br /&gt;
L_2  \\&lt;br /&gt;
F  &lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5822</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5822"/>
		<updated>2009-11-20T07:43:56Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-2.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be zero for the time being.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD2-2.jpg|right|FBD for m1]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD1-2.jpg|right|FBD for m1]]&lt;br /&gt;
&lt;br /&gt;
Sum of the forces in the x direction yields&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_2} = m_2 \ddot{x}_2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_2 \ddot{x}_2=F_{s_2} - m_2 g&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s = -k \, x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_2=\frac{-k_2}{m_2} \, x_2 - g&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And for &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_1} = m_1 \ddot{x}_1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_1 \ddot{x}_1=F_{s_1} + F - m_1 g - F_{s_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&amp;lt;math&amp;gt;F \frac{}{} = F(t)&amp;lt;/math&amp;gt; is the input force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_1 = \frac{-k_1}{m_1} \, x_1 + \frac{k_2}{m_1} \, x_2 - g + \frac{F}{m_1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
The general form of the state equation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\underline{\dot{x}}(t) = \widehat{A} \, \underline{x}(t) + \widehat{C} \, \underline{u}(t)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;\widehat{M}&amp;lt;/math&amp;gt; denotes a matrix and &amp;lt;math&amp;gt;\underline{v}&amp;lt;/math&amp;gt; denotes a vector.&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;x_1 \frac{}{}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\dot{x}_1 \frac{}{}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_2 \frac{}{}&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\dot{x_2} \frac{}{}&amp;lt;/math&amp;gt; be the state variables, then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\dot{x}_1 \\&lt;br /&gt;
\ddot{x}_1 \\&lt;br /&gt;
\dot{x}_2 \\&lt;br /&gt;
\ddot{x}_2&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                &amp;amp; 1 &amp;amp; 0                &amp;amp; 0 \\&lt;br /&gt;
\frac{-k_1}{m_1} &amp;amp; 0 &amp;amp; \frac{k_2}{m_1}  &amp;amp; 0 \\&lt;br /&gt;
0                &amp;amp; 0 &amp;amp; 0                &amp;amp; 1 \\&lt;br /&gt;
0                &amp;amp; 0 &amp;amp; \frac{-k_2}{m_2} &amp;amp; 0&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_1       \\&lt;br /&gt;
\dot{x}_1 \\&lt;br /&gt;
x_2       \\&lt;br /&gt;
\dot{x}_2&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0  &amp;amp; 0             &amp;amp; 0 &amp;amp; 0 \\&lt;br /&gt;
-1 &amp;amp; \frac{1}{m_1} &amp;amp; 0 &amp;amp; 0 \\&lt;br /&gt;
0  &amp;amp; 0             &amp;amp; 0 &amp;amp; 0 \\&lt;br /&gt;
-1 &amp;amp; 0             &amp;amp; 0 &amp;amp; 0&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
g  \\&lt;br /&gt;
F  \\&lt;br /&gt;
0  \\&lt;br /&gt;
0  &lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Class_Wiki:About&amp;diff=5821</id>
		<title>Class Wiki:About</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Class_Wiki:About&amp;diff=5821"/>
		<updated>2009-11-19T06:27:00Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The purpose of ClassWiki is to allow students and the instructor to create documentation that my assist other students.&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5820</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5820"/>
		<updated>2009-11-19T03:26:07Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-2.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be zero for the time being.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD2-2.jpg|right|FBD for m2]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD1-2.jpg|right|FBD for m1]]&lt;br /&gt;
&lt;br /&gt;
Sum of the forces in the x direction yields&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_2} = m_2 \ddot{x}_2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_2 \ddot{x}_2=F_{s_2} - m_2 g&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s = -k \, x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_2=\frac{-k_2}{m_2} \, x_2 - g&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And for &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_1} = m_1 \ddot{x}_1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_1 \ddot{x}_1=F_{s_1} + F - m_1 g - F_{s_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&amp;lt;math&amp;gt;F \frac{}{} = F(t)&amp;lt;/math&amp;gt; is the input force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_1 = \frac{-k_1}{m_1} \, x_1 + \frac{k_2}{m_1} \, x_2 - g + \frac{F}{m_1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
The general form of the state equation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\underline{\dot{x}}(t) = \widehat{A} \, \underline{x}(t) + \widehat{C} \, \underline{u}(t)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;\widehat{M}&amp;lt;/math&amp;gt; denotes a matrix and &amp;lt;math&amp;gt;\underline{v}&amp;lt;/math&amp;gt; denotes a vector.&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;x_1 \frac{}{}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\dot{x}_1 \frac{}{}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_2 \frac{}{}&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\dot{x_2} \frac{}{}&amp;lt;/math&amp;gt; be the state variables, then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\dot{x}_1 \\&lt;br /&gt;
\ddot{x}_1 \\&lt;br /&gt;
\dot{x}_2 \\&lt;br /&gt;
\ddot{x}_2&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                &amp;amp; 1 &amp;amp; 0                &amp;amp; 0 \\&lt;br /&gt;
\frac{-k_1}{m_1} &amp;amp; 0 &amp;amp; \frac{k_2}{m_1}  &amp;amp; 0 \\&lt;br /&gt;
0                &amp;amp; 0 &amp;amp; 0                &amp;amp; 1 \\&lt;br /&gt;
0                &amp;amp; 0 &amp;amp; \frac{-k_2}{m_2} &amp;amp; 0&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_1       \\&lt;br /&gt;
\dot{x}_1 \\&lt;br /&gt;
x_2       \\&lt;br /&gt;
\dot{x}_2&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0  &amp;amp; 0             &amp;amp; 0 &amp;amp; 0 \\&lt;br /&gt;
-1 &amp;amp; \frac{1}{m_1} &amp;amp; 0 &amp;amp; 0 \\&lt;br /&gt;
0  &amp;amp; 0             &amp;amp; 0 &amp;amp; 0 \\&lt;br /&gt;
-1 &amp;amp; 0             &amp;amp; 0 &amp;amp; 0&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
g  \\&lt;br /&gt;
F  \\&lt;br /&gt;
0  \\&lt;br /&gt;
0  &lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5819</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5819"/>
		<updated>2009-11-19T03:25:41Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-2.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be zero for the time being.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD2-2.jpg|right|FBD for m2]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD1-2.jpg|right|FBD for m1]]&lt;br /&gt;
&lt;br /&gt;
Sum of the forces in the x direction yields&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_2} = m_2 \ddot{x}_2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_2 \ddot{x}_2=F_{s_2} - m_2 g&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s = -k \, x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_2=\frac{-k_2}{m_2} \, x_2 - g&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And for &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_1} = m_1 \ddot{x}_1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_1 \ddot{x}_1=F_{s_1} + F - m_1 g - F_{s_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&amp;lt;math&amp;gt;F \frac{}{} = F(t)&amp;lt;/math&amp;gt; is the input force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_1 = \frac{-k_1}{m_1} \, x_1 + \frac{k_2}{m_1} \, x_2 - g + \frac{F}{m_1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
The general form of the state equation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\underline{\dot{x}}(t) = \widehat{A} \, \underline{x}(t) + \widehat{C} \, \underline{u}(t)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;\widehat{M}&amp;lt;/math&amp;gt; denotes a matrix and &amp;lt;math&amp;gt;\underline{v}&amp;lt;/math&amp;gt; denotes a vector.&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;x_1 \frac{}{}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\dot{x}_1 \frac{}{}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_2 \frac{}{}&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\dot{x_2} \frac{}{}&amp;lt;/math&amp;gt; be the state variables, then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\dot{x}_1 \\&lt;br /&gt;
\ddot{x}_1 \\&lt;br /&gt;
\dot{x}_2 \\&lt;br /&gt;
\ddot{x}_2&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                &amp;amp; 1 &amp;amp; 0                &amp;amp; 0 \\&lt;br /&gt;
\frac{-k_1}{m_1} &amp;amp; 0 &amp;amp; \frac{k_2}{m_1}  &amp;amp; 0 \\&lt;br /&gt;
0                &amp;amp; 0 &amp;amp; 0                &amp;amp; 1 \\&lt;br /&gt;
0                &amp;amp; 0 &amp;amp; \frac{-k_2}{m_2} &amp;amp; 0&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_1       \\&lt;br /&gt;
\dot{x}_1 \\&lt;br /&gt;
x_2       \\&lt;br /&gt;
\dot{x}_2&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0  &amp;amp; 0             &amp;amp; 0 &amp;amp; 0 \\&lt;br /&gt;
-1 &amp;amp; \frac{1}{m_1} &amp;amp; 0 &amp;amp; 0 \\&lt;br /&gt;
0  &amp;amp; 0             &amp;amp; 0 &amp;amp; 0 \\&lt;br /&gt;
-1 &amp;amp; 0             &amp;amp; 0 &amp;amp; 0&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
g  \\&lt;br /&gt;
F  \\&lt;br /&gt;
0  \\&lt;br /&gt;
0  &lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5818</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5818"/>
		<updated>2009-11-19T03:25:21Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 03:26, 9 November 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 1 - Use Laplace Transformations=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Laplace Transform==&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Inverse Laplace Transform==&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Equation of Motion==&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlotOctave-1.zip|Octave Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
=Part 2 - Final and Initial Value Theorems=&lt;br /&gt;
&lt;br /&gt;
==Initial Value Theorem==&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Final Value Theorem==&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
=Part 3 - Bode Plot=&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Part 4 - Breakpoints and Asymptotes on Bode Plot=&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.  It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Part 5 - Convolution=&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).  Questions left: How could the result be adjusted to account for initial conditions?&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
&lt;br /&gt;
(Laplace in blue solid, Convolution in red dotted)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 6 - State Equation=&lt;br /&gt;
&lt;br /&gt;
Choose the state variable to be &amp;lt;math&amp;gt; x\frac{}{} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \dot{x} &amp;lt;/math&amp;gt;, then following the example from class, the state equation is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  \dot{x} \\&lt;br /&gt;
  \ddot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 &amp;amp; 1  \\&lt;br /&gt;
  \frac{-k}{m} &amp;amp; \frac{-\lambda}{m}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\,&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  x \\&lt;br /&gt;
  \dot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
+&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 \\&lt;br /&gt;
  1&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\, g \, \sin{\theta}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Appendix A=&lt;br /&gt;
&lt;br /&gt;
==Poles==&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5817</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5817"/>
		<updated>2009-11-19T03:24:57Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Part 6 - State Equation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 03:26, 9 November 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 1 - Use Laplace Transformations=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Laplace Transform==&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Inverse Laplace Transform==&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Equation of Motion==&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlotOctave-1.zip|Octave Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
=Part 2 - Final and Initial Value Theorems=&lt;br /&gt;
&lt;br /&gt;
==Initial Value Theorem==&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Final Value Theorem==&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
=Part 3 - Bode Plot=&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Part 4 - Breakpoints and Asymptotes on Bode Plot=&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.  It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Part 5 - Convolution=&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).  Questions left: How could the result be adjusted to account for initial conditions?&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
&lt;br /&gt;
(Laplace in blue solid, Convolution in red dotted)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 6 - State Equation=&lt;br /&gt;
&lt;br /&gt;
Choose the state variable to be &amp;lt;math&amp;gt; x\frac{}{} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \dot{x} &amp;lt;/math&amp;gt;, then following the example from class, the state equation is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  \dot{x} \\&lt;br /&gt;
  \ddot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 &amp;amp; 1  \\&lt;br /&gt;
  \frac{-k}{m} &amp;amp; \frac{-\lambda}{m}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\,&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  x \\&lt;br /&gt;
  \dot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
+&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 \\&lt;br /&gt;
  1&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\, g \, \sin{\theta}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Appendix A=&lt;br /&gt;
&lt;br /&gt;
==Poles==&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5816</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5816"/>
		<updated>2009-11-19T03:24:22Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* State Space Equation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-2.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be zero for the time being.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD2-2.jpg|right|FBD for m2]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD1-2.jpg|right|FBD for m1]]&lt;br /&gt;
&lt;br /&gt;
Sum of the forces in the x direction yields&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_2} = m_2 \ddot{x}_2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_2 \ddot{x}_2=F_{s_2} - m_2 g&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s = -k \, x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_2=\frac{-k_2}{m_2} \, x_2 - g&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And for &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_1} = m_1 \ddot{x}_1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_1 \ddot{x}_1=F_{s_1} + F - m_1 g - F_{s_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&amp;lt;math&amp;gt;F \frac{}{} = F(t)&amp;lt;/math&amp;gt; is the input force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_1 = \frac{-k_1}{m_1} \, x_1 + \frac{k_2}{m_1} \, x_2 - g + \frac{F}{m_1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
The general form of the state equation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\underline{\dot{x}}(t) = \widehat{A} \, \underline{x}(t) + \widehat{C} \, \underline{u}(t)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;\widehat{M}&amp;lt;/math&amp;gt; denotes a matrix and &amp;lt;math&amp;gt;\underline{v}&amp;lt;/math&amp;gt; denotes a vector.&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;x_1 \frac{}{}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\dot{x}_1 \frac{}{}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_2 \frac{}{}&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\dot{x_2} \frac{}{}&amp;lt;/math&amp;gt; be the state variables, then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\dot{x}_1 \\&lt;br /&gt;
\ddot{x}_1 \\&lt;br /&gt;
\dot{x}_2 \\&lt;br /&gt;
\ddot{x}_2&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                &amp;amp; 1 &amp;amp; 0                &amp;amp; 0 \\&lt;br /&gt;
\frac{-k_1}{m_1} &amp;amp; 0 &amp;amp; \frac{k_2}{m_1}  &amp;amp; 0 \\&lt;br /&gt;
0                &amp;amp; 0 &amp;amp; 0                &amp;amp; 1 \\&lt;br /&gt;
0                &amp;amp; 0 &amp;amp; \frac{-k_2}{m_2} &amp;amp; 0&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_1       \\&lt;br /&gt;
\dot{x}_1 \\&lt;br /&gt;
x_2       \\&lt;br /&gt;
\dot{x}_2&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0  &amp;amp; 0             &amp;amp; 0 &amp;amp; 0 \\&lt;br /&gt;
-1 &amp;amp; \frac{1}{m_1} &amp;amp; 0 &amp;amp; 0 \\&lt;br /&gt;
0  &amp;amp; 0             &amp;amp; 0 &amp;amp; 0 \\&lt;br /&gt;
-1 &amp;amp; 0             &amp;amp; 0 &amp;amp; 0&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
g  \\&lt;br /&gt;
F  \\&lt;br /&gt;
0  \\&lt;br /&gt;
0  &lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5815</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5815"/>
		<updated>2009-11-19T03:21:48Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* State Space Equation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-2.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be zero for the time being.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD2-2.jpg|right|FBD for m2]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD1-2.jpg|right|FBD for m1]]&lt;br /&gt;
&lt;br /&gt;
Sum of the forces in the x direction yields&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_2} = m_2 \ddot{x}_2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_2 \ddot{x}_2=F_{s_2} - m_2 g&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s = -k \, x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_2=\frac{-k_2}{m_2} \, x_2 - g&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And for &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_1} = m_1 \ddot{x}_1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_1 \ddot{x}_1=F_{s_1} + F - m_1 g - F_{s_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&amp;lt;math&amp;gt;F \frac{}{} = F(t)&amp;lt;/math&amp;gt; is the input force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_1 = \frac{-k_1}{m_1} \, x_1 + \frac{k_2}{m_1} \, x_2 - g + \frac{F}{m_1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
The general form of the state equation is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\underline{\dot{x}}(t) = \widehat{A} \, \underline{x}(t) + \widehat{C} \, \underline{u}(t)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;\widehat{M}&amp;lt;/math&amp;gt; denotes a matrix and &amp;lt;math&amp;gt;\underline{v}&amp;lt;/math&amp;gt; denotes a vector.&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;x_1 \frac{}{}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\dot{x}_1 \frac{}{}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_2 \frac{}{}&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\dot{x_2} \frac{}{}&amp;lt;/math&amp;gt; be the state variables, then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 &amp;amp;  &amp;amp;  &amp;amp;  \\&lt;br /&gt;
 &amp;amp;  &amp;amp;  &amp;amp;  \\&lt;br /&gt;
 &amp;amp;  &amp;amp;  &amp;amp;  \\&lt;br /&gt;
 &amp;amp;  &amp;amp;  &amp;amp; &lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\dot{x}_1 \\&lt;br /&gt;
\ddot{x}_1 \\&lt;br /&gt;
\dot{x}_2 \\&lt;br /&gt;
\ddot{x}_2&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                &amp;amp; 1 &amp;amp; 0                &amp;amp; 0 \\&lt;br /&gt;
\frac{-k_1}{m_1} &amp;amp; 0 &amp;amp; \frac{k_2}{m_1}  &amp;amp; 0 \\&lt;br /&gt;
0                &amp;amp; 0 &amp;amp; 0                &amp;amp; 1 \\&lt;br /&gt;
0                &amp;amp; 0 &amp;amp; \frac{-k_2}{m_2} &amp;amp; 0&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_1       \\&lt;br /&gt;
\dot{x}_1 \\&lt;br /&gt;
x_2       \\&lt;br /&gt;
\dot{x}_2&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5814</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5814"/>
		<updated>2009-11-19T01:21:50Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Force Equations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-2.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be zero for the time being.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD2-2.jpg|right|FBD for m2]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD1-2.jpg|right|FBD for m1]]&lt;br /&gt;
&lt;br /&gt;
Sum of the forces in the x direction yields&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_2} = m_2 \ddot{x}_2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_2 \ddot{x}_2=F_{s_2} - m_2 g&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s = -k \, x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_2=\frac{-k_2}{m_2} \, x_2 - g&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And for &amp;lt;math&amp;gt;m_1 \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_1} = m_1 \ddot{x}_1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_1 \ddot{x}_1=F_{s_1} + F - m_1 g - F_{s_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&amp;lt;math&amp;gt;F \frac{}{} = F(t)&amp;lt;/math&amp;gt; is the input force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_1 = \frac{-k_1}{m_1} \, x_1 + \frac{k_2}{m_1} \, x_2 - g + \frac{F}{m_1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5813</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5813"/>
		<updated>2009-11-19T01:21:23Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Force Equations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-2.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be zero for the time being.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD2-2.jpg|right|FBD for m2]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD1-2.jpg|right|FBD for m1]]&lt;br /&gt;
&lt;br /&gt;
Sum of the forces in the x direction yields&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_2} = m_2 \ddot{x}_2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_2 \ddot{x}_2=F_{s_2} - m_2 g&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s = -k \, x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_2=\frac{-k_2}{m_2} \, x_2 - g&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And for &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \uparrow \sum F_{x_1} = m_1 \ddot{x}_1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m_1 \ddot{x}_1=F_{s_1} + F - m_1 g - F_{s_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&amp;lt;math&amp;gt;F \frac{}{} = F(t)&amp;lt;/math&amp;gt; is the input force&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x}_1 = \frac{-k_1}{m_1} \, x_1 + \frac{k_2}{m_1} \, x_2 - g + \frac{F}{m_1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:BP_FBD2-2.jpg&amp;diff=5812</id>
		<title>File:BP FBD2-2.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:BP_FBD2-2.jpg&amp;diff=5812"/>
		<updated>2009-11-19T01:02:58Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: uploaded a new version of &amp;quot;Image:BP FBD2-2.jpg&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:BP_FBD1-2.jpg&amp;diff=5811</id>
		<title>File:BP FBD1-2.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:BP_FBD1-2.jpg&amp;diff=5811"/>
		<updated>2009-11-19T01:02:18Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: uploaded a new version of &amp;quot;Image:BP FBD1-2.jpg&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5810</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5810"/>
		<updated>2009-11-19T00:48:54Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Force Equations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-2.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be zero for the time being.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD1-2.jpg|right|FBD for m1]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_FBD2-2.jpg|right|FBD for m2]]&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:BP_FBD2-2.jpg&amp;diff=5809</id>
		<title>File:BP FBD2-2.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:BP_FBD2-2.jpg&amp;diff=5809"/>
		<updated>2009-11-19T00:47:52Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:BP_FBD1-2.jpg&amp;diff=5808</id>
		<title>File:BP FBD1-2.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:BP_FBD1-2.jpg&amp;diff=5808"/>
		<updated>2009-11-19T00:47:36Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5807</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5807"/>
		<updated>2009-11-19T00:47:05Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-2.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be zero for the time being.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5806</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5806"/>
		<updated>2009-11-19T00:24:18Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Initial Conditions and Values */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-2.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be zero for the time being.&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5805</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5805"/>
		<updated>2009-11-19T00:22:35Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Problem Statement */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-2.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5804</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5804"/>
		<updated>2009-11-19T00:21:13Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-2.jpg|Right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5803</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5803"/>
		<updated>2009-11-19T00:20:27Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Problem Statement */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-2.jpg|Right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Eigenvalue-Eigenvector Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5802</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5802"/>
		<updated>2009-11-19T00:20:00Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Problem Statement */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-2.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Eigenvalue-Eigenvector Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:BP_Setup-2.jpg&amp;diff=5801</id>
		<title>File:BP Setup-2.jpg</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:BP_Setup-2.jpg&amp;diff=5801"/>
		<updated>2009-11-19T00:19:18Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5791</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5791"/>
		<updated>2009-11-18T05:33:27Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Initial Conditions and Values */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_1 = 140 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_1 = 108000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;m_2 = 80 kg \frac{}{}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;k_2 = 80000 \frac{N}{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Eigenvalue-Eigenvector Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Fall_2009&amp;diff=5790</id>
		<title>Fall 2009</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Fall_2009&amp;diff=5790"/>
		<updated>2009-11-18T04:54:55Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====HW # 5====&lt;br /&gt;
Put a link here to an example problem you made up and solved using Laplace Transforms, of the complete solution of a mechanical system or a circuit that is described by linear ordinary differential equations with constant coefficients.  Make sure you start with the physical system, and end up with the time response of the system.  &lt;br /&gt;
&lt;br /&gt;
Use your wiki page to explain the problem and solution to one of your classmates.  Have him or her certify that they have checked it for errors, by listing that on the page.  Then go to [http://moodle.wallawalla.edu Moodle] and put a link to your page in the in-box for HW #5.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms:Series RLC circuit]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms:Mass-Spring Oscillator]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms:DC Motor circuit]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms: Simple Electrical Network]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms: R series with RC parallel circuit]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms: Critically Damped Motion ]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms: Under-damped Mass-Spring System on an Incline]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms: Critically Damped Spring Mass system]]&lt;br /&gt;
&lt;br /&gt;
====HW #12====&lt;br /&gt;
Coupled Oscillator Problem&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Coupled Oscillator: Hellie]]&lt;br /&gt;
&lt;br /&gt;
[[Coupled Oscillator: Coupled Mass-Spring System with Input]]&lt;br /&gt;
&lt;br /&gt;
==2009-2010 Contributors==&lt;br /&gt;
&lt;br /&gt;
[[Ben Henry]]&lt;br /&gt;
&lt;br /&gt;
[http://fweb.wallawalla.edu/class-wiki/index.php/Fall_2009/JonathanS Jonathan Schreven]&lt;br /&gt;
&lt;br /&gt;
[http://fweb/class-wiki/index.php/Laplace_transforms:DC_Motor_circuit/ Kendrick Mensink]&lt;br /&gt;
&lt;br /&gt;
[http://fweb/class-wiki/index.php/Laplace_transforms:_Critically_Damped_Motion Mark Bernet]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Fall_2009&amp;diff=5789</id>
		<title>Fall 2009</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Fall_2009&amp;diff=5789"/>
		<updated>2009-11-18T04:54:43Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====HW # 5====&lt;br /&gt;
Put a link here to an example problem you made up and solved using Laplace Transforms, of the complete solution of a mechanical system or a circuit that is described by linear ordinary differential equations with constant coefficients.  Make sure you start with the physical system, and end up with the time response of the system.  &lt;br /&gt;
&lt;br /&gt;
Use your wiki page to explain the problem and solution to one of your classmates.  Have him or her certify that they have checked it for errors, by listing that on the page.  Then go to [http://moodle.wallawalla.edu Moodle] and put a link to your page in the in-box for HW #5.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms:Series RLC circuit]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms:Mass-Spring Oscillator]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms:DC Motor circuit]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace Transforms: Simple Electrical Network]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace Transforms: R series with RC parallel circuit]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace Transforms: Critically Damped Motion ]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace Transforms: Under-damped Mass-Spring System on an Incline]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace Transforms: Critically Damped Spring Mass system]]&lt;br /&gt;
&lt;br /&gt;
====HW #12====&lt;br /&gt;
Coupled Oscillator Problem&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Coupled Oscillator: Hellie]]&lt;br /&gt;
&lt;br /&gt;
[[Coupled Oscillator: Coupled Mass-Spring System with Input]]&lt;br /&gt;
&lt;br /&gt;
==2009-2010 Contributors==&lt;br /&gt;
&lt;br /&gt;
[[Ben Henry]]&lt;br /&gt;
&lt;br /&gt;
[http://fweb.wallawalla.edu/class-wiki/index.php/Fall_2009/JonathanS Jonathan Schreven]&lt;br /&gt;
&lt;br /&gt;
[http://fweb/class-wiki/index.php/Laplace_transforms:DC_Motor_circuit/ Kendrick Mensink]&lt;br /&gt;
&lt;br /&gt;
[http://fweb/class-wiki/index.php/Laplace_transforms:_Critically_Damped_Motion Mark Bernet]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Fall_2009&amp;diff=5788</id>
		<title>Fall 2009</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Fall_2009&amp;diff=5788"/>
		<updated>2009-11-18T04:54:24Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====HW # 5====&lt;br /&gt;
Put a link here to an example problem you made up and solved using Laplace Transforms, of the complete solution of a mechanical system or a circuit that is described by linear ordinary differential equations with constant coefficients.  Make sure you start with the physical system, and end up with the time response of the system.  &lt;br /&gt;
&lt;br /&gt;
Use your wiki page to explain the problem and solution to one of your classmates.  Have him or her certify that they have checked it for errors, by listing that on the page.  Then go to [http://moodle.wallawalla.edu Moodle] and put a link to your page in the in-box for HW #5.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Laplace Transforms: Series RLC circuit]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace Transforms:  Mass-Spring Oscillator]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace Transforms:DC Motor circuit]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace Transforms: Simple Electrical Network]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace Transforms: R series with RC parallel circuit]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace Transforms: Critically Damped Motion ]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace Transforms: Under-damped Mass-Spring System on an Incline]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace Transforms: Critically Damped Spring Mass system]]&lt;br /&gt;
&lt;br /&gt;
====HW #12====&lt;br /&gt;
Coupled Oscillator Problem&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Coupled Oscillator: Hellie]]&lt;br /&gt;
&lt;br /&gt;
[[Coupled Oscillator: Coupled Mass-Spring System with Input]]&lt;br /&gt;
&lt;br /&gt;
==2009-2010 Contributors==&lt;br /&gt;
&lt;br /&gt;
[[Ben Henry]]&lt;br /&gt;
&lt;br /&gt;
[http://fweb.wallawalla.edu/class-wiki/index.php/Fall_2009/JonathanS Jonathan Schreven]&lt;br /&gt;
&lt;br /&gt;
[http://fweb/class-wiki/index.php/Laplace_transforms:DC_Motor_circuit/ Kendrick Mensink]&lt;br /&gt;
&lt;br /&gt;
[http://fweb/class-wiki/index.php/Laplace_transforms:_Critically_Damped_Motion Mark Bernet]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5787</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5787"/>
		<updated>2009-11-18T04:52:25Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Problem Statement */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The use of one spring between the masses is just a simplification of a multi-spring system, so the possibility of being off-kilter is neglected and just the vertical forces are considered.&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Eigenvalue-Eigenvector Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5786</id>
		<title>Coupled Oscillator: Coupled Mass-Spring System with Input</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Coupled_Mass-Spring_System_with_Input&amp;diff=5786"/>
		<updated>2009-11-18T04:51:01Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: New page: =Setup State Space Equation=  ==Problem Statement== Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for t...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Setup State Space Equation=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find an input function such that the lower mass, &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt;, is stationary in the steady state.  Find the equation of motion for the upper mass, &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
&lt;br /&gt;
==State Space Equation==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Laplace Transform Method=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Solve Using Eigenvalue-Eigenvector Method=&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Fall_2009&amp;diff=5785</id>
		<title>Fall 2009</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Fall_2009&amp;diff=5785"/>
		<updated>2009-11-18T04:46:21Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====HW # 5====&lt;br /&gt;
Put a link here to an example problem you made up and solved using Laplace Transforms, of the complete solution of a mechanical system or a circuit that is described by linear ordinary differential equations with constant coefficients.  Make sure you start with the physical system, and end up with the time response of the system.  &lt;br /&gt;
&lt;br /&gt;
Use your wiki page to explain the problem and solution to one of your classmates.  Have him or her certify that they have checked it for errors, by listing that on the page.  Then go to [http://moodle.wallawalla.edu Moodle] and put a link to your page in the in-box for HW #5.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms:Series RLC circuit]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms:Mass-Spring Oscillator]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms:DC Motor circuit]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms: Simple Electrical Network]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms: R series with RC parallel circuit]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms: Critically Damped Motion ]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms: Under-damped Mass-Spring System on an Incline]]&lt;br /&gt;
&lt;br /&gt;
[[Laplace transforms: Critically Damped Spring Mass system]]&lt;br /&gt;
&lt;br /&gt;
====HW #12====&lt;br /&gt;
Coupled Oscillator Problem&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Coupled Oscillator: Hellie]]&lt;br /&gt;
&lt;br /&gt;
[[Coupled Oscillator: Coupled Mass-Spring System with Input]]&lt;br /&gt;
&lt;br /&gt;
==2009-2010 Contributors==&lt;br /&gt;
&lt;br /&gt;
[[Ben Henry]]&lt;br /&gt;
&lt;br /&gt;
[http://fweb.wallawalla.edu/class-wiki/index.php/Fall_2009/JonathanS Jonathan Schreven]&lt;br /&gt;
&lt;br /&gt;
[http://fweb/class-wiki/index.php/Laplace_transforms:DC_Motor_circuit/ Kendrick Mensink]&lt;br /&gt;
&lt;br /&gt;
[http://fweb/class-wiki/index.php/Laplace_transforms:_Critically_Damped_Motion Mark Bernet]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5727</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5727"/>
		<updated>2009-11-09T20:50:55Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Part 6 - State Equation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 03:26, 9 November 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 1 - Use Laplace Transformations=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Laplace Transform==&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Inverse Laplace Transform==&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Equation of Motion==&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlotOctave-1.zip|Octave Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
=Part 2 - Final and Initial Value Theorems=&lt;br /&gt;
&lt;br /&gt;
==Initial Value Theorem==&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Final Value Theorem==&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
=Part 3 - Bode Plot=&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Part 4 - Breakpoints and Asymptotes on Bode Plot=&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.  It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Part 5 - Convolution=&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).  Questions left: How could the result be adjusted to account for initial conditions?&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
&lt;br /&gt;
(Laplace in blue solid, Convolution in red dotted)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 6 - State Equation=&lt;br /&gt;
&lt;br /&gt;
Choose the state variable to be &amp;lt;math&amp;gt; x\frac{}{} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \dot{x} &amp;lt;/math&amp;gt;, then following the example from class, the state equation is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  \dot{x} \\&lt;br /&gt;
  \ddot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 &amp;amp; 1  \\&lt;br /&gt;
  \frac{-k}{m} &amp;amp; \frac{-\lambda}{m}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\,&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  x \\&lt;br /&gt;
  \dot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
+&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 \\&lt;br /&gt;
  1&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\, g \, \sin{\theta}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Appendix A=&lt;br /&gt;
&lt;br /&gt;
==Poles==&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5726</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5726"/>
		<updated>2009-11-09T20:50:46Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Equation of Motion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 03:26, 9 November 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 1 - Use Laplace Transformations=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Laplace Transform==&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Inverse Laplace Transform==&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Equation of Motion==&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlotOctave-1.zip|Octave Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
=Part 2 - Final and Initial Value Theorems=&lt;br /&gt;
&lt;br /&gt;
==Initial Value Theorem==&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Final Value Theorem==&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
=Part 3 - Bode Plot=&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Part 4 - Breakpoints and Asymptotes on Bode Plot=&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.  It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Part 5 - Convolution=&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).  Questions left: How could the result be adjusted to account for initial conditions?&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
&lt;br /&gt;
(Laplace in blue solid, Convolution in red dotted)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 6 - State Equation=&lt;br /&gt;
&lt;br /&gt;
Choose the state variable to be &amp;lt;math&amp;gt; x\frac{}{} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \dot{x} &amp;lt;/math&amp;gt;, then following the example from class, the state equation is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  \dot{x} \\&lt;br /&gt;
  \ddot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 &amp;amp; 1  \\&lt;br /&gt;
  \frac{-k}{m} &amp;amp; \frac{-\lambda}{m}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\,&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  x \\&lt;br /&gt;
  \dot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
+&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 \\&lt;br /&gt;
  1&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\, g \, \sin{\theta}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
y=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Appendix A=&lt;br /&gt;
&lt;br /&gt;
==Poles==&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5725</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5725"/>
		<updated>2009-11-09T20:48:43Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Part 6 - State Equation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 03:26, 9 November 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 1 - Use Laplace Transformations=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Laplace Transform==&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Inverse Laplace Transform==&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Equation of Motion==&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlotOctave-1.zip|Octave Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
=Part 2 - Final and Initial Value Theorems=&lt;br /&gt;
&lt;br /&gt;
==Initial Value Theorem==&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Final Value Theorem==&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
=Part 3 - Bode Plot=&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Part 4 - Breakpoints and Asymptotes on Bode Plot=&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.  It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Part 5 - Convolution=&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).  Questions left: How could the result be adjusted to account for initial conditions?&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
&lt;br /&gt;
(Laplace in blue solid, Convolution in red dotted)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 6 - State Equation=&lt;br /&gt;
&lt;br /&gt;
Choose the state variable to be &amp;lt;math&amp;gt; x\frac{}{} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \dot{x} &amp;lt;/math&amp;gt;, then following the example from class, the state equation is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  \dot{x} \\&lt;br /&gt;
  \ddot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 &amp;amp; 1  \\&lt;br /&gt;
  \frac{-k}{m} &amp;amp; \frac{-\lambda}{m}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\,&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  x \\&lt;br /&gt;
  \dot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
+&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 \\&lt;br /&gt;
  1&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\, g \, \sin{\theta}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
y=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Appendix A=&lt;br /&gt;
&lt;br /&gt;
==Poles==&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5715</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5715"/>
		<updated>2009-11-09T03:26:03Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 03:26, 9 November 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 1 - Use Laplace Transformations=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Laplace Transform==&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Inverse Laplace Transform==&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Equation of Motion==&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlotOctave-1.zip|Octave Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
=Part 2 - Final and Initial Value Theorems=&lt;br /&gt;
&lt;br /&gt;
==Initial Value Theorem==&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Final Value Theorem==&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
=Part 3 - Bode Plot=&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Part 4 - Breakpoints and Asymptotes on Bode Plot=&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.  It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Part 5 - Convolution=&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).  Questions left: How could the result be adjusted to account for initial conditions?&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
&lt;br /&gt;
(Laplace in blue solid, Convolution in red dotted)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 6 - State Equation=&lt;br /&gt;
&lt;br /&gt;
Choose the state variable to be &amp;lt;math&amp;gt; \dot{x} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \ddot{x} &amp;lt;/math&amp;gt;, then following the example from class, the state equation is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  \dot{x} \\&lt;br /&gt;
  \ddot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 &amp;amp; 1  \\&lt;br /&gt;
  \frac{-k}{m} &amp;amp; \frac{-\lambda}{m}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\,&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  x \\&lt;br /&gt;
  \dot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
+&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 \\&lt;br /&gt;
  1&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\, g \, \sin{\theta}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Appendix A=&lt;br /&gt;
&lt;br /&gt;
==Poles==&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5714</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5714"/>
		<updated>2009-11-09T03:25:31Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Part 6 - State Equations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 05:54, 29 October 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 1 - Use Laplace Transformations=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Laplace Transform==&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Inverse Laplace Transform==&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Equation of Motion==&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlotOctave-1.zip|Octave Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
=Part 2 - Final and Initial Value Theorems=&lt;br /&gt;
&lt;br /&gt;
==Initial Value Theorem==&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Final Value Theorem==&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
=Part 3 - Bode Plot=&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Part 4 - Breakpoints and Asymptotes on Bode Plot=&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.  It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Part 5 - Convolution=&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).  Questions left: How could the result be adjusted to account for initial conditions?&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
&lt;br /&gt;
(Laplace in blue solid, Convolution in red dotted)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 6 - State Equation=&lt;br /&gt;
&lt;br /&gt;
Choose the state variable to be &amp;lt;math&amp;gt; \dot{x} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \ddot{x} &amp;lt;/math&amp;gt;, then following the example from class, the state equation is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  \dot{x} \\&lt;br /&gt;
  \ddot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 &amp;amp; 1  \\&lt;br /&gt;
  \frac{-k}{m} &amp;amp; \frac{-\lambda}{m}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\,&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  x \\&lt;br /&gt;
  \dot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
+&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 \\&lt;br /&gt;
  1&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\, g \, \sin{\theta}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Appendix A=&lt;br /&gt;
&lt;br /&gt;
==Poles==&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5713</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5713"/>
		<updated>2009-11-09T03:25:21Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 05:54, 29 October 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 1 - Use Laplace Transformations=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Laplace Transform==&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Inverse Laplace Transform==&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Equation of Motion==&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlotOctave-1.zip|Octave Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
=Part 2 - Final and Initial Value Theorems=&lt;br /&gt;
&lt;br /&gt;
==Initial Value Theorem==&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Final Value Theorem==&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
=Part 3 - Bode Plot=&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Part 4 - Breakpoints and Asymptotes on Bode Plot=&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.  It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Part 5 - Convolution=&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).  Questions left: How could the result be adjusted to account for initial conditions?&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
&lt;br /&gt;
(Laplace in blue solid, Convolution in red dotted)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 6 - State Equations=&lt;br /&gt;
&lt;br /&gt;
Choose the state variable to be &amp;lt;math&amp;gt; \dot{x} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \ddot{x} &amp;lt;/math&amp;gt;, then following the example from class, the state equation is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  \dot{x} \\&lt;br /&gt;
  \ddot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 &amp;amp; 1  \\&lt;br /&gt;
  \frac{-k}{m} &amp;amp; \frac{-\lambda}{m}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\,&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  x \\&lt;br /&gt;
  \dot{x}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
+&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
  0 \\&lt;br /&gt;
  1&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\, g \, \sin{\theta}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Appendix A=&lt;br /&gt;
&lt;br /&gt;
==Poles==&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5592</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5592"/>
		<updated>2009-10-30T05:14:03Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Equation of Motion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 05:54, 29 October 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 1 - Use Laplace Transformations=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Laplace Transform==&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Inverse Laplace Transform==&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Equation of Motion==&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlotOctave-1.zip|Octave Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
=Part 2 - Final and Initial Value Theorems=&lt;br /&gt;
&lt;br /&gt;
==Initial Value Theorem==&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Final Value Theorem==&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
=Part 3 - Bode Plot=&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Part 4 - Breakpoints and Asymptotes on Bode Plot=&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.  It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Part 5 - Convolution=&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).  Questions left: How could the result be adjusted to account for initial conditions?&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
&lt;br /&gt;
(Laplace in blue solid, Convolution in red dotted)&lt;br /&gt;
&lt;br /&gt;
=Appendix A=&lt;br /&gt;
&lt;br /&gt;
==Poles==&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:BP_BodePlotOctave-1.zip&amp;diff=5591</id>
		<title>File:BP BodePlotOctave-1.zip</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:BP_BodePlotOctave-1.zip&amp;diff=5591"/>
		<updated>2009-10-30T05:13:35Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:BP_BodePlot-1.zip&amp;diff=5590</id>
		<title>File:BP BodePlot-1.zip</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:BP_BodePlot-1.zip&amp;diff=5590"/>
		<updated>2009-10-30T05:13:00Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: uploaded a new version of &amp;quot;Image:BP BodePlot-1.zip&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Matlab (and Octave) script for Bode and position plots.&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5589</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5589"/>
		<updated>2009-10-30T05:10:36Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Part 5 - Convolution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 05:54, 29 October 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 1 - Use Laplace Transformations=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Laplace Transform==&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Inverse Laplace Transform==&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Equation of Motion==&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
=Part 2 - Final and Initial Value Theorems=&lt;br /&gt;
&lt;br /&gt;
==Initial Value Theorem==&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Final Value Theorem==&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
=Part 3 - Bode Plot=&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Part 4 - Breakpoints and Asymptotes on Bode Plot=&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.  It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Part 5 - Convolution=&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).  Questions left: How could the result be adjusted to account for initial conditions?&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
&lt;br /&gt;
(Laplace in blue solid, Convolution in red dotted)&lt;br /&gt;
&lt;br /&gt;
=Appendix A=&lt;br /&gt;
&lt;br /&gt;
==Poles==&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5588</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5588"/>
		<updated>2009-10-30T05:10:19Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Part 5 - Convolution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 05:54, 29 October 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 1 - Use Laplace Transformations=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Laplace Transform==&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Inverse Laplace Transform==&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Equation of Motion==&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
=Part 2 - Final and Initial Value Theorems=&lt;br /&gt;
&lt;br /&gt;
==Initial Value Theorem==&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Final Value Theorem==&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
=Part 3 - Bode Plot=&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Part 4 - Breakpoints and Asymptotes on Bode Plot=&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.  It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Part 5 - Convolution=&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).  Questions left: How could the result be adjusted to account for initial conditions?&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
(Laplace in blue solid, Convolution in red dotted)&lt;br /&gt;
&lt;br /&gt;
=Appendix A=&lt;br /&gt;
&lt;br /&gt;
==Poles==&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5526</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5526"/>
		<updated>2009-10-29T05:54:11Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 05:54, 29 October 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 1 - Use Laplace Transformations=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Laplace Transform==&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Inverse Laplace Transform==&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Equation of Motion==&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
=Part 2 - Final and Initial Value Theorems=&lt;br /&gt;
&lt;br /&gt;
==Initial Value Theorem==&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Final Value Theorem==&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
=Part 3 - Bode Plot=&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Part 4 - Breakpoints and Asymptotes on Bode Plot=&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.  It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Part 5 - Convolution=&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).  Questions left: How could the result be adjusted to account for initial conditions?&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
&lt;br /&gt;
=Appendix A=&lt;br /&gt;
&lt;br /&gt;
==Poles==&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5525</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5525"/>
		<updated>2009-10-29T05:53:50Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Appendix A - Poles */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 05:44, 26 October 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 1 - Use Laplace Transformations=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Laplace Transform==&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Inverse Laplace Transform==&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Equation of Motion==&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
=Part 2 - Final and Initial Value Theorems=&lt;br /&gt;
&lt;br /&gt;
==Initial Value Theorem==&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Final Value Theorem==&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
=Part 3 - Bode Plot=&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Part 4 - Breakpoints and Asymptotes on Bode Plot=&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.  It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Part 5 - Convolution=&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).  Questions left: How could the result be adjusted to account for initial conditions?&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
&lt;br /&gt;
=Appendix A=&lt;br /&gt;
&lt;br /&gt;
==Poles==&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5524</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5524"/>
		<updated>2009-10-29T05:52:03Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 05:44, 26 October 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Part 1 - Use Laplace Transformations=&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Initial Conditions and Values==&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Force Equations==&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Laplace Transform==&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Inverse Laplace Transform==&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Equation of Motion==&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
=Part 2 - Final and Initial Value Theorems=&lt;br /&gt;
&lt;br /&gt;
==Initial Value Theorem==&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Final Value Theorem==&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
=Part 3 - Bode Plot=&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
=Part 4 - Breakpoints and Asymptotes on Bode Plot=&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.  It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Part 5 - Convolution=&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).  Questions left: How could the result be adjusted to account for initial conditions?&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
&lt;br /&gt;
=Appendix A - Poles=&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5522</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5522"/>
		<updated>2009-10-29T04:48:24Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Part 5 - Convolution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 05:44, 26 October 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Under-Damped Mass-Spring System on an Incline=&lt;br /&gt;
&lt;br /&gt;
==Part 1 - Use Laplace Transformations==&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Initial Conditions and Values===&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Force Equations===&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Laplace Transform===&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Inverse Laplace Transform===&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equation of Motion===&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
==Part 2 - Final and Initial Value Theorems==&lt;br /&gt;
&lt;br /&gt;
===Initial Value Theorem===&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Final Value Theorem===&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
==Part 3 - Bode Plot==&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Part 4 - Breakpoints and Asymptotes on Bode Plot==&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.  It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Part 5 - Convolution==&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).  Questions left: How could the result be adjusted to account for initial conditions?&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
&lt;br /&gt;
==Appendix A - Poles==&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5521</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5521"/>
		<updated>2009-10-29T04:47:35Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Part 4 - Breakpoints and Asymptotes on Bode Plot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 05:44, 26 October 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Under-Damped Mass-Spring System on an Incline=&lt;br /&gt;
&lt;br /&gt;
==Part 1 - Use Laplace Transformations==&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Initial Conditions and Values===&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Force Equations===&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Laplace Transform===&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Inverse Laplace Transform===&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equation of Motion===&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
==Part 2 - Final and Initial Value Theorems==&lt;br /&gt;
&lt;br /&gt;
===Initial Value Theorem===&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Final Value Theorem===&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
==Part 3 - Bode Plot==&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Part 4 - Breakpoints and Asymptotes on Bode Plot==&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.  It looks as though this is also the max of the Bode Plot and possibly the resonant frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Part 5 - Convolution==&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
&lt;br /&gt;
==Appendix A - Poles==&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5520</id>
		<title>Laplace transforms: Under-damped Mass-Spring System on an Incline</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Laplace_transforms:_Under-damped_Mass-Spring_System_on_an_Incline&amp;diff=5520"/>
		<updated>2009-10-29T04:46:59Z</updated>

		<summary type="html">&lt;p&gt;Brandon.plubell: /* Part 4 - Breakpoints and Asymptotes on Bode Plot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Brandon.plubell|Brandon.plubell]] 05:44, 26 October 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Under-Damped Mass-Spring System on an Incline=&lt;br /&gt;
&lt;br /&gt;
==Part 1 - Use Laplace Transformations==&lt;br /&gt;
&lt;br /&gt;
===Problem Statement===&lt;br /&gt;
Find the equation of motion for the mass in the system subjected to the forces shown in the free body diagram.  The inclined surface is coated in 1mm of SAE 30 oil.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Setup-1.jpg|right|Problem Setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Initial Conditions and Values===&lt;br /&gt;
* A is the area of the box in contact with the surface&lt;br /&gt;
* g is the gravitational acceleration field constant&lt;br /&gt;
* b&amp;lt;sub&amp;gt;t&amp;lt;/sub&amp;gt; is the thickness of the fluid covering the inclined surface&lt;br /&gt;
* &amp;amp;mu; is the viscosity constant of the fluid&lt;br /&gt;
* m is the mass of the box&lt;br /&gt;
* k is the spring constant&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
A = \frac{1}{4} m^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
g = 9.81 \frac{m}{s^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
b_t = 1 mm \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mu = 0.06 \frac{N \cdot s}{m^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m = 45 kg \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
k = 200 \frac{N}{m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\theta = 30^{\circ} \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let the initial conditions be&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) = -0.5 m \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{x}(0) = 0 \frac{m}{s}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Force Equations===&lt;br /&gt;
[[Image:BP_FBD-1.jpg|right|Free Body Diagram]]&lt;br /&gt;
&lt;br /&gt;
The sum of the forces in the x direction yields the equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \swarrow \sum F_x = m\ddot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ m\ddot{x}=F_s + F_f + mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_s=-k\,x&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
F_f=-\frac{\mu \, A}{b_t} \, \dot{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make the algebra easier, let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lambda=\frac{\mu \, A}{b_t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, from the sum of forces equation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
m\,\ddot{x} + \lambda\,\dot{x}+k\,x=mg \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x=g \sin \theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Laplace Transform===&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L} \left\{   \ddot{x} + \frac{\lambda}{m}\,\dot{x}+\frac{k}{m}\,x    \right\} = \mathcal{L} \left\{   g \sin \theta    \right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ s^2\,X(s) - s\,x(0) - \dot{x}(0) + \frac{\lambda}{m}\,s\,X(s) - \frac{\lambda}{m}\,x(0) + \frac{k}{m}\,X(s) = g \sin \theta \, \left(\frac{1}{s}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow\ X(s) \left(s^2 + \frac{\lambda}{m}\,s + \frac{k}{m} \right) = g \sin \theta \, \left( \frac {1}{s} \right) + s\,x(0) + \dot{x}(0) + \frac{\lambda}{m}\, x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;x(0)\text{ and }\dot{x}(0)&amp;lt;/math&amp;gt; be 0 and rearrange the equation,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{X(s)}{X_{in}(s)} = \frac{X(s)}{g\sin\theta \left( \frac{1}{s} \right)} = H(s)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above is the transfer function that will be used in the Bode plot and can provide valuable information about the system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X(s)=g\sin\theta \left( \frac{1}{s} \right) \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+x(0) \, \left( \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
+\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Inverse Laplace Transform===&lt;br /&gt;
Since the Laplace Transform is a linear transform, we need only find three inverse transforms.  All of the these have complex roots, since &amp;lt;math&amp;gt; {\left( \frac{\lambda}{m} \right)}^2 &amp;lt; 4 \, \frac{\lambda}{m} &amp;lt;/math&amp;gt;.  Because I am not yet comfortable finding the inverse with complex roots by hand, I used a laplace transform program for the TI-89.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s \left( s^2 + \frac{\lambda}{m} \, s + \frac{k}{m} \right)}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{s}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equation of Motion===&lt;br /&gt;
Putting it all back together again gives,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(0) =&lt;br /&gt;
g \, \sin {\theta} \, \left( e^{\frac{-1}{6} \, t} \, \left[  \frac{-9}{40} \cos {\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{3 \, \sqrt{159}}{2120} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] + \frac{9}{40} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+ \,&lt;br /&gt;
x(0) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} - \frac{\sqrt{159}}{159} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
\left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, \left( e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right] \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the equation in the form given above because &amp;lt;math&amp;gt; x(0) \text{ , } \dot{x}(0) \text{ , } \theta \text{ , and even } g &amp;lt;/math&amp;gt; can be varied and still give accurate results.  The Matlab (or Octave) script below can be edited as described.  Take note! &amp;lt;math&amp;gt; \lambda \text{ (and all that depend on it), } m \text{ , and } k &amp;lt;/math&amp;gt; cannot be altered (else the inverse Laplace is false)!&lt;br /&gt;
&lt;br /&gt;
[[Media:BP_BodePlot-1.zip|Matlab Script]]&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_Position-1.jpg|Position of Mass from Laplace Method]]&lt;br /&gt;
&lt;br /&gt;
==Part 2 - Final and Initial Value Theorems==&lt;br /&gt;
&lt;br /&gt;
===Initial Value Theorem===&lt;br /&gt;
As was derived in class, there are two theorems that relate the initial and final values (in this case positions) of the output functions in the t domain with the output function in the s domain.  In a case such as this, in which the initial values are given, the initial value theorem is just a check.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to \infty}{s \, X(s)} = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the limit of &amp;lt;math&amp;gt; s \, X(s) &amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (0) + \left( x(0) \right) \, (1) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(0) = x(0) \frac{}{}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Final Value Theorem===&lt;br /&gt;
The Final Value Theorem is a very useful tool that will show what the final value of the output function (as &amp;lt;math&amp;gt; t \to \infty &amp;lt;/math&amp;gt;), which in this case is the final position of the block.  Notice that it is not the unstretched length of the spring (else &amp;lt;math&amp;gt; x(\infty) = 0 &amp;lt;/math&amp;gt;).  It is also of interest to note that only the input function comes into play here, as all the others go to zero, and is not dependent on the initial position or velocity.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\lim_{s \to 0}{s \, X(s)} = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
\left( g \sin{\theta} \right) \, (\frac{m}{k}) + \left( x(0) \right) \, (0) + \left( \dot{x}(0) + \frac{\lambda}{m} \, x(0) \right) \, (0) = x(\infty)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ &lt;br /&gt;
x(\infty) = \frac{m \, g}{k} \sin{\theta} = 1.104 m&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which can be seen in the plot in the section [[#Equation of Motion|Equation of Motion]].&lt;br /&gt;
&lt;br /&gt;
==Part 3 - Bode Plot==&lt;br /&gt;
The bode plot shows useful information about the system we are analyzing.  It has only to do with the transfer function, which means that it does not change based upon the input.  However, it can show what a given frequency of a harmonic input will do to the output.  For my example, it can be seen that at about &amp;lt;math&amp;gt; 2 \, rad/s &amp;lt;/math&amp;gt; there is a rise in the magnitude of the transfer function.  If it were hit with a corresponding frequency by an input function, it could have very larg oscillations.&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_BodePlot-1.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Part 4 - Breakpoints and Asymptotes on Bode Plot==&lt;br /&gt;
From the transfer function in the [[#Laplace Transform|Laplace Transform]] section,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H(s)=\frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it can be seen that there are no zeros (nothing in the numerator that would make the function go to zero), but there is a place in the denominator that would exhibit deviant behavior.  That is when the &amp;lt;math&amp;gt;s^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k/m&amp;lt;/math&amp;gt; are on the same order of magnitude.  That is one stops dominating and the other starts.  This point can be visually observed by finding the intersection of the asymptotes in the Bode Plot.  Where they intersect is (roughly) a breakpoint.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt{\frac{k}{m}} = 2.108&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Part 5 - Convolution==&lt;br /&gt;
The convolution is a equation that relates the output to the input and transfer function.  As derived in class, it is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=x_{in}(t) * h(t) = \int_{0}^{t} {x(t_0) \, h(t-t_0) \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;h(t)&amp;lt;/math&amp;gt; is the inverse laplace of the transfer function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(t)=\mathcal{L}^{-1} \left\{  \frac{1}{s^2 + \frac{\lambda}{m} \, s + \frac{k}{m}}  \right\} =&lt;br /&gt;
e^{\frac{-1}{6} \, t} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, t}{6} \right)}   \right]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)=&lt;br /&gt;
x_{in}(t)*h(t) = &lt;br /&gt;
\int_{0}^{t} {\left( g \, \sin{\theta} \right) \, &lt;br /&gt;
e^{\frac{-1}{6} \, \left( t-t_0 \right)} \, \left[   \frac{2 \, \sqrt{159}}{53} \, \sin {\left( \frac{\sqrt{159} \, \left( t-t_0 \right)}{6} \right)}   \right]&lt;br /&gt;
 \, dt_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve the integral, one must do two integration by parts, or alternatively plug it into a calculator, which yields&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x(t)= \frac{-3}{2120} \, g \, \sin{\theta} \, e^{\frac{-1}{6}t} \left( 159 \cos{\left( \frac{\sqrt{159} \, t}{6} \right)} + \sqrt{159} \sin{\left( \frac{\sqrt{159} \, t}{6} \right)} - 159 \, e^{\frac{1}{6}t} \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As can be seen in the plot, the Convolution method, as executed, resulted in the same results as the Laplace methods, just without any initial conditions (starts at 0 and has a smaller amplitude, but finishes at the same point).&lt;br /&gt;
&lt;br /&gt;
[[Image:BP_PositionBoth-1.jpg|Both Laplace and Convolution Methods of EOM]]&lt;br /&gt;
&lt;br /&gt;
==Appendix A - Poles==&lt;br /&gt;
If one puts the transfer function from the [[#Laplace Transform|Laplace Transform]] section, it can be seen that the poles (roots of the denominator) will have both real and imaginary components, which is observable by the quadratic formula&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s = 0 = \frac{- \lambda}{2 \, m} \, \pm \, \frac{1}{2} \, \sqrt{\frac{\lambda^2}{m^2} - \frac{4 \, k}{m}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{4 \, k}{m} = \frac{160}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\lambda^2}{m^2} = \frac{1}{9}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\Rightarrow \ s = 0 = \frac{-\lambda}{2 \, m} \, \pm \, \frac{1}{2} \, j \, \sqrt{\frac{4 \, k}{m} - \frac{\lambda^2}{m^2}}&lt;br /&gt;
= \frac{-1}{6} \, \pm \, j \, \frac{\sqrt{159}}{6} = = -0.1667 \, \pm \, j \, 2.102&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the (important) switching of the terms in the square root when the &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; was taken out front, since it is of course &amp;lt;math&amp;gt;\sqrt{1}&amp;lt;/math&amp;gt;.  Below is a nice plot (built in Matlab function, like the bode plot) which the plots poles on the imaginary and real axes.  The closer the poles get to the the imaginary axis (i.e., the smaller the real values get), the closer to destructive behavior at a certain frequency.&lt;br /&gt;
&lt;br /&gt;
[[image:BP_Poles-1.jpg]]&lt;/div&gt;</summary>
		<author><name>Brandon.plubell</name></author>
	</entry>
</feed>