I am trying to understand why I should use Runge-Kutta methods. What I understood is that it is used to calculate a derivative at some point. But my question then is why not differentiate and plug in the numbers directly? Thank you
Why use Runge-Kutta?
0
$\begingroup$
ordinary-differential-equations
numerical-methods
-
0Could you give a concrete example of what you mean? – 2012-05-17
1 Answers
4
Runge-Kutta is not used to calculate a derivative, it is used to solve an initial value problem for a differential equation. For example: you want to find $y(10)$ given the differential equation $\frac{dy}{dx} = \sin(y + x)$ and the initial value $y(0)=1$.