k1 = f(X, Y(X)) k2 = f(X+h/2, Y(X) + h/2 k1) k3 = f(X+h/2, Y(X) + h/2 k2) k4 = f(X+h, Y(X) + h k3) Y(X+h) = Y(X) + h/6 (k1 + 2 k2 + 2 k3 + k4)The step size is
h = (XF - XI)/Nwhere XI is the initial value of X, XF the final value and N the number of steps, as set in the Main Window.
Euler |
Improved Euler |
Adaptive Runge-Kutta |
Difference equation |
Main window |
Help index |