This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/8400/. Also, please do not modify any references to the original work (if any) contained in this content.
You can use this calculator to solve first degree differential equation with a given initial value using the Runge-Kutta method AKA classic Runge-Kutta method (because in fact there is a family of Runge-Kutta methods) or RK4 (because it is fourth-order method).
To use this method, you should have differential equation in the form
and enter the right side of the equation f(x,y) in the y' field below.
You also need initial value as
and the point for which you want to approximate the value.
The last parameter of a method - a step size, is literally a step to compute next approximation of a function curve.
Method details can be found below the calculator.
The Runge-Kutta method
The formula to compute the next point is
where h is step size and
The local truncation error of RK4 is of order , giving a global truncation error of order .