Aaron Boyd's Assignment 8

From Class Wiki
Jump to navigation Jump to search

I decided to use laplace transforms to solve a pendulum equation. A pendulum with a weight of mass m and a massless rod length L is released from an initial angle θ<sub>0</sub>. Find a function to determine the angle at any time t. The summation of forces yields Fx=Tsin⁡(θ)Fy=Tcos⁡(θ)−mg=0


Polar coordinates may be easier to use, lets try that.


Fr=T−mgcos⁡(θ)=0Fθ=sin⁡(θ)mg=maL


Now since Fr=0 we can ignore it and look only at Fθ. Since we know Fθ=maL and ma=mLa. We can conclude

sin⁡(θ)*mg=mLθ¨

canceling the common mass term and rearranging a bit we get.

θ¨−(g/L)sin⁡(θ)=0Now we take the laplace transform of this.Unfortunately the laplace transform of that is horrible. Long, and impossible to solve.So we use the approximation sin⁡(θ)=θ where θ is small. (I tried to leave sin(θ) in the equation.After 4 hours and many wolframalpha.com timeouts I gave up) with this new equation we get:g*θ(t)L+s2*θ(t)−sθ(0)−θ˙(0)=0we know that θ(0)=θ0 and θ˙(0)=0solving for θ(t) we getθ(t)=s*θ0(−gL+S2)now we take the inverse laplace transform of that which yields θ(t)=θ0cos(t(gL))


You can solve for the same thing from the cartesian coordinates. Taking:


Fx=Tsin⁡(θ)=0 and recognizing T=mg


you can arrive at the same answer