Fall 2009/JonathanS: Difference between revisions

From Class Wiki
Jump to navigation Jump to search
No edit summary
Line 52: Line 52:
:<math>\mathcal{L}\{f^{ '}(t)\}=sF(s)-f(0^-)=\int_{0^-}^{\infty}f^{ '}(t)e^{-st}\, dt</math>
:<math>\mathcal{L}\{f^{ '}(t)\}=sF(s)-f(0^-)=\int_{0^-}^{\infty}f^{ '}(t)e^{-st}\, dt</math>


<math>\begin{alignat}{3}
:<math>\begin{alignat}{3}
           \lim_{n \to \infty}\mathcal{L}\{f^{ '}(t)\} & = \lim_{n \to \infty}sF(s)-f(0^-) \\
           \lim_{n \to \infty}\mathcal{L}\{f^{ '}(t)\} & = \lim_{n \to \infty}sF(s)-f(0^-) \\
       & = \lim_{n \to \infty}sF(s)-f(0^-)=0 \\
       & = \lim_{n \to \infty}sF(s)-f(0^-)=0 \\
Line 63: Line 63:
       & = \lim_{n \to \infty}s\bigg({12s\over {s^2+(4.429)^2}}\bigg)-f(0^-)=0 \\
       & = \lim_{n \to \infty}s\bigg({12s\over {s^2+(4.429)^2}}\bigg)-f(0^-)=0 \\
       & = \lim_{n \to \infty}s\bigg({12s\over {s^2+(4.429)^2}}\bigg)=f(0^-) \\
       & = \lim_{n \to \infty}s\bigg({12s\over {s^2+(4.429)^2}}\bigg)=f(0^-) \\
      & = 12=f (0^-) \\
  12 & = f (0^-) \\
\end{alignat}</math>
\end{alignat}</math>
This value <math>f(0^-)=12</math> is the initial angle we gave the pendulum so it checks out.
This value <math>f(0^-)=12</math> is the initial angle we gave the pendulum so it checks out.


== Final Value Theorem ==
== Final Value Theorem ==
We can use the Final Value Theorem as a check that our final values for the problem are valid.
:<math>\mathcal{L}\{f^{ '}(t)\}=sF(s)-f(0^-)=\int_{0^-}^{\infty}f^{ '}(t)e^{-st}\, dt</math>
:<math>\begin{alignat}{3}
          \lim_{n \to 0}\mathcal{L}\{f^{ '}(t)\} & = \lim_{n \to 0}sF(s)-f(0^-) \\
      & = \lim_{n \to 0}sF(s)-f(0^-)=0 \\
      & = \lim_{n \to 0}sF(s)=f(0^-) \\
\end{alignat}</math>
Below we will use this theorem to check the values for our problem.
:<math>\begin{alignat}{3}
          \lim_{n \to 0}\mathcal{L}\{f^{ '}(t)\} & = \lim_{n \to 0}sF(s)-f(0^-)=\lim_{n \to 0}\int_{0^-}^{\infty}f^{ '}(t)e^{-st}\, dt \\
      & = \lim_{n \to 0}s\bigg({12s\over {s^2+(4.429)^2}}\bigg)-f(0^-)=0 \\
      & = \lim_{n \to 0}s\bigg({12s\over {s^2+(4.429)^2}}\bigg)=f(0^-) \\
  12 & = f (0^-) \\
\end{alignat}</math>


:<math>\mathcal{L}\{f^{ '}(t)\}=sF(s)-f(0^-)=\int_{0^-}^{\infty}f^{ '}(t)e^{-st}\, dt</math>




== Bode Plot ==
== Bode Plot ==

Revision as of 22:19, 25 October 2009

Problem

A simple pendulum with a length L = 0.5m is pulled back and released from an initial angle θ0=12o. Find an equation that gives the angle of the pendulum at any given time t.

Solution

Assuming no damping and a small angle(θ<15o), the equation for the motion of a simple pendulum can be written as

d2θdt2+gℓθ=0.


Substituting values we get

d2θdt2+9.810.5θ=0.

⇒d2θdt2+19.62θ=0.


Remember the identities

ℒ{f(t)}=F(s)=∫0∞e−stf(t)dt.
ℒ{f'′(t)}=s2F(s)−sf(0)−f'(0)


Now we can take the Laplace Transform to change the second order differential equation, from the t domain, into a simple linear equation, from the s domain, that's much easier to work with

ℒ{d2θdt2+19.62θ}=s2F(s)−sf(0)−f'(0)+19.62θ=0

⇒ s2θ−sθ(0)−θ'(0)+19.62θ=0


Since we know that θ(0)=12o and the initial velocity θ'(0)=0 we get

s2θ−12s+19.62θ=0

⇒ θ(s2+19.62)=12s

⇒ θ=12ss2+19.62

⇒ θ=12ss2+(4.429)2


Now we can take the inverse Laplace Transform to convert our equation back into the time domain using the identity

ℒ−1{ss2+ω2}=cos(ωt)

We get

ℒ−1{12ss2+(4.429)2}=12cos(4.429t)


This will give us the angle (in degrees) of the pendulum at any given time t.


Initial Value Theorem

We can use the Initial Value Theorem as a check that our initial values for the problem are valid.

ℒ{f'(t)}=sF(s)−f(0−)=∫0−∞f'(t)e−stdt
limn→∞ℒ{f'(t)}=limn→∞sF(s)−f(0−)=limn→∞sF(s)−f(0−)=0=limn→∞sF(s)=f(0−)

Below we will use this theorem to check the values for our problem.

limn→∞ℒ{f'(t)}=limn→∞sF(s)−f(0−)=limn→∞∫0−∞f'(t)e−stdt=limn→∞s(12ss2+(4.429)2)−f(0−)=0=limn→∞s(12ss2+(4.429)2)=f(0−)12=f(0−)

This value f(0−)=12 is the initial angle we gave the pendulum so it checks out.

Final Value Theorem

We can use the Final Value Theorem as a check that our final values for the problem are valid.

ℒ{f'(t)}=sF(s)−f(0−)=∫0−∞f'(t)e−stdt
limn→0ℒ{f'(t)}=limn→0sF(s)−f(0−)=limn→0sF(s)−f(0−)=0=limn→0sF(s)=f(0−)

Below we will use this theorem to check the values for our problem.

limn→0ℒ{f'(t)}=limn→0sF(s)−f(0−)=limn→0∫0−∞f'(t)e−stdt=limn→0s(12ss2+(4.429)2)−f(0−)=0=limn→0s(12ss2+(4.429)2)=f(0−)12=f(0−)


Bode Plot