Ordinary Differential Equations
Fourth-order Runge-Kutta algorithm and Adaptative Variable Stepper


We're using a Fourth-order Runge-Kutta algorithm with an adaptive variable step size to get a specified desired error in the problem 6.2

Results for the Runge-Kutta Method with an Adaptive Stepper

 

Here is the C code :

varstep.c