This is an interactive tool to explore the numerical Runge Kutta method. This method is used to approximate solutions to differential equations and is very powerful for solving a wide range of problems in science and engineering.
Consider the differential equation:
y' = f(x, y) with y(x₀) = K (initial value)
We wish to approximate the solution over an interval [a, b]. We divide this interval into n smaller intervals of size h. The 4th order Runge Kutta method provides an approximation as follows:
Let y₀ = K (starting value)
yᵢ₊₁ = yᵢ + (1/6)[k₁ + 2k₂ + 2k₃ + k₄] for i = 0, 1, ..., n-1