pendulum Paul Cochrane Example simulation of a finite amplitude pendulum. Adapted fro the exercise in "A first course in computational physics" by Paul L. DeVries, page 234. t no E double 0.25 1 main double theta thetaDot RK4EX 10.0 5000 50 main t_out tDot_out KE PE