Fall 2009/JonathanS

From Class Wiki
Revision as of 16:17, 28 October 2009 by Jonathan.schreven (talk | contribs)
Jump to navigation Jump to search

Problem

A simple pendulum with a length L = 0.5m is pulled back and released from an initial angle θ0=12o. Then it is run with a forcing function of cos(3θ) 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ℓθ=cos(3θ).


Substituting values we get

d2θdt2+9.810.5θ=cos(3θ).

⇒d2θdt2+19.62θ=cos(3θ).


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θ=ℒ{cos(3θ)}

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


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

s2θ−12s+19.62θ=ss2+9

⇒ θ(s2+19.62)=ss2+9+12s

⇒ θ(s2+19.62)=ss2+9+12s(s2+9)s2+9

⇒ θ(s2+19.62)=(12s3+109s)s2+9

⇒ θ=(12s3+109s)(s2+9)(s2+19.62)

⇒ θ=12s3+109s(s4+28.62s2+176.58)


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

ℒ−1{12s3+109s(s4+28.62s2+176.58)}=0.094162cos(3t)+11.9058cos(4.42945t)


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(12s3+109s(s4+28.62s2+176.58))−f(0−)=0=limn→∞s(12s3+109s(s4+28.62s2+176.58))=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−∞f'(t)e−stdt
limn→0ℒ{f'(t)}=limn→0sF(s)−f(∞)=limn→0sF(s)−f(∞)=0=limn→0sF(s)=f(∞)

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

limn→0ℒ{f'(t)}=limn→0sF(s)−f(∞)=limn→0∫0−∞f'(t)e−stdt=limn→0s(12s3+109s(s4+28.62s2+176.58))−f(∞)=0=limn→0s(12s3+109s(s4+28.62s2+176.58))=f(∞)0=f(∞)

This is zero because the average angle as time goes to infinity will be zero (halfway between -12 and 12 degrees).

Bode Plot