Runge-Kutta (2, 3)-method with variable step size, resp
Arguments
- f
function in the differential equation \(y' = f(x, y)\); defined as a function \(R \times R^m \rightarrow R^m\), where \(m\) is the number of equations.
- a
starting time for the interval to integrate
- b
ending time for the interval to integrate.
- y0
starting values at time
a
- n
Not used
- Pars
named list of parameters passed to f
- rtol
relative tolerance.
- atol
absolute tolerance.