MATHEMATICA TUTORIAL, Part 1.3: Runge--Kutta 4
www.cfm.brown.edu › am33 › MathematicaClassical Runge-Kutta of order 4. So far the most often used is the classical fourth-order Runge-Kutta formula, which has a certain sleekness of organization about it: k 1 = f n = f ( x n, y n), k 2 = f ( x n + h 2, y n + h 2 k 1), k 3 = f ( x n + h 2, y n + h 2 k 2), k 4 = f ( x n + h, y n + h k 3). The fourth-order Runge-Kutta method requires ...
Runge–Kutta methods - Wikipedia
https://en.wikipedia.org/wiki/Runge–Kutta_methodsAdaptive methods are designed to produce an estimate of the local truncation error of a single Runge–Kutta step. This is done by having two methods, one with order and one with order . These methods are interwoven, i.e., they have common intermediate steps. Thanks to this, estimating the error has little or negligible computational cost compared to a step with the higher-order method.
Runge-Kutta method
math.okstate.edu › Notes › rungekuttaHere’s the formula for the Runge-Kutta-Fehlberg method (RK45). w 0 = k 1 = hf(t i;w i) k 2 = hf t i + h 4;w i + k 1 4 k 3 = hf t i + 3h 8;w i + 3 32 k 1 + 9 32 k 2 k 4 = hf t i + 12h 13;w i + 1932 2197 k 1 7200 2197 k 2 + 7296 2197 k 3 k 5 = hf t i +h;w i + 439 216 k 1 8k 2 + 3680 513 k 3 845 4104 k 4 k 6 = hf t i + h 2;w i 8 27 k 1 +2k 2 ...