Index of /grad/509/src_numerics/ODE/1.5

      Name                    Last modified       Size  Description

[DIR] Parent Directory 07-Mar-2007 08:49 - [TXT] Makefile 07-Mar-2007 08:49 1k [TXT] ode.cc 07-Mar-2007 08:49 1k [TXT] rungek.h 07-Mar-2007 08:49 8k

This simple example on solving ordinary differential equations tests
Runke-Kutta method with adaptive step size by solving "simple pendulum"
problem.

It starts pendulum with energy equal E=1 and initial nonzero velocity and
zero position. Time evolution of 200 time-units with is
monitored and the error is printed as well as the energy of the system versus
time. Energy is here slightly increasing - a signature of the degradation.