Q5.3-24E

Question

Pendulum with Varying Length. A pendulum is formed by a mass m attached to the end of a wire that is attached to the ceiling. Assume that the length l(t)of the wire varies with time in some predetermined fashion. If

U(t) is the angle in radians between the pendulum and the vertical, then the motion of the pendulum is governed for small angles by the initial value problem l2(t)θ''(t)+2l(t)l'(t)θ'(t)+gl(t)sin(θ(t))=0;θ(0)=θo,θ'(0)=θ1 where g is the acceleration due to gravity. Assume that l(t)=lo+l1cos(ωt-ϕ) where l1 is much smaller than lo. (This might be a model for a person on a swing, where the pumping action changes the distance from the center of mass of the swing to the point where the swing is attached.) To simplify the computations, take g = 1. Using the Runge– Kutta algorithm with h = 0.1, study the motion of the pendulum when θo=0.05,θ1=0,lo=1,l1=0.1,ω=1,ϕ=0.02. In particular, does the pendulum ever attain an angle greater in absolute value than the initial angle θo?

Step-by-Step Solution

Verified
Answer

The result can get by the Runge-Kutta method, and yes, the pendulum ever attains an angle greater in absolute value than the initial angle θo.

1Transform the equation

Here, the equation l2tq''t+2ltl'tq't+gltsinqt=0

 

The system can be written as:

x1=θtx2=θ'=x'1


The transform equation is:


 x'1=x2x'2=0.2sin(t-0.02)x2-sinx11+0.1cos(t-0.02)


 

The initial conditions are:

x10=θ0=0.05x20=θ'0=0


2Apply the Runge-Kutta method


Apply Matlab to find the results. And some results are:


t

θ

0

0.05

0.1

0.049

0.5

0.044

1

0.028

1.5

0.0039

2

-0.023

3

-0.060

5

0.01505

6

0.4816

7

0.03861

8

-0.0079

9

-0.05499

10

-0.04677





From the table, we can see that the pendulum does indeed attain an angle greater in the absolute value than the initial angle of 0.050.05. For instance, at the time t=9.4 the absolute value of the angle is |θ9.4|=|-0.061082|=0.061082>0.05

Therefore, the pendulum attains an angle greater in absolute value than the initial angle θ0.