Many a times, students ask me
Which of the Runge-Kutta 2nd order methods gives the most accurate answer to solving a first order ODE?
There is no direct answer, although Ralston’s method gives a minimum bound for the truncation error (Ralston, A., Runge-Kutta Methods with Minimum Error Bounds, Match. Compu., Vol 16, page 431, 1962).
They also ask me if using the first three terms of the Taylor series would give a more accurate answer if we calculate symbolically.
The equations for the four methods are given below
Here is the comparison graph for
step size of h=1.1
step size of h=0.55
This post is brought to you by Holistic Numerical Methods: Numerical Methods for the STEM undergraduate at http://numericalmethods.eng.usf.edu