Runge–Kutta methods A numerical method of solving differential equations in the form which uses the midpoint of interval(s) to improve accuracy. So if the value of the function is known at (xn,yn), and the estimate yn + 1 of y is required at xn + 1 = xn + h, the second-order Runge–Kutta formula is

and the fourth-order Runge–Kutta formula is 
|