The simple pendulum, a widely-used model system in classical physics, is an idealization which consists of a point mass attached by a massless rod to a fixed pivot, swinging in a vertical plane under the influence of gravity. In this example we explore approximate and exact solutions for the angle
ϕ(t)
that the rod makes with the vertical.
Define the exact differential equation for
ϕ(t)
(in arbitrary units):
In[1]:=
deExact=ϕ''[t]+Sin[ϕ[t]]0;
For initial conditions, assume the pendulum is stationary at an angle
0<=φ<=π
:
In[2]:=
initConds={ϕ'[0]0,ϕ[0]φ};
In the small-angle approximation,
ϕ(t)≪1
, the pendulum equation reduces to the simple harmonic oscillator equation, which is readily solved.