What does RK4 do?
RK4 is the classical fourth-order Runge-Kutta method. In each step it samples the slope four times, at the start, twice in the middle and at the end, and mixes them with weights 1, 2, 2 and 1 divided by six to move forward.
Does this give an exact solution?
No. It gives a numerical approximation at sampled points. It does not give a symbolic formula, check that a unique solution exists or state an error bound. Comparing runs with more steps is the practical way to judge it.
How many steps should I use?
Start with 100 and double it. If the final value no longer changes in the digits that matter to you, the answer is probably stable. A smooth equation often settles quickly, while one with a sharp change may never settle.
Why do I get an error for 2x?
The parser does not allow implicit multiplication. Write 2*x, and write x*y for the product of x and y. Brackets, powers with ^ and the listed functions are supported.
Which functions and constants can I use?
You can use sin, cos, tan, exp, ln, log (base 10), sqrt and abs, the constants pi and e, and the variables x and y. The usual order of operations applies, and ^ is read from right to left.
Can I solve a system or a second-order equation?
Not directly. The tool takes one first-order equation. A second-order equation can sometimes be rewritten as two first-order ones, but this page has no way to enter more than one equation.
Is my equation sent to a server?
No. The page says that the calculation, the graph and the CSV are made in your browser and that nothing is uploaded or saved.