Example 3. Solve
the second order I.V.P.
with
,
.
Solution 3.
The D. E. can be written as
where
.
We use the substitution
and
make the second order I.V.P. into a system of first order
I.V.P.'s
,
and
,
where
,
and
,
.
Compute the Runge-Kutta solution.
The solution we seek is the first coordinate in the 2D system.
Now we can plot the solution.
![[Graphics:../Images/PendulumMod_gr_79.gif]](../Images/PendulumMod_gr_79.gif)
(c) John H. Mathews 2004