Index of /grad/509/src_numerics/ODE/1

      Name                    Last modified       Size  Description

[DIR] Parent Directory 07-Mar-2007 08:49 - [TXT] Makefile 06-Mar-2007 19:45 1k [TXT] ode.cc 06-Mar-2007 19:45 2k

This simple example on solving ordinary differential equations tests
Runke-Kutta method with fixed 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 time-step of 0.1 is
monitored and the error is printed as well as the energy of the system versus
time. Energy is constantly decreasing - a signature of the degradation.