midpoint_fixed, an R code which solves one or more ordinary differential equations (ODE) using the (implicit) midpoint method, solving the implicit equation using a fixed point iteration.
The computer code and data files made available on this web page are distributed under the MIT license
midpoint_fixed is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and an Octave version and a Python versionand an R version.
adamsbashforth, an R code which uses an Adams Bashforth method to solve an ordinary differential equation (ODE).
backward_euler, an R code which implements the (implicit) backward Euler method for solving an ordinary differential equation (ODE), based on functions from the pracma library of Hans Borchers.
euler, an R code which uses the forward Euler method to solve a single ordinary differential equation (ODE).
eulersys, an R code which uses the forward Euler method to solve a system of ordinary differential equations (ODE).
midpoint, an R code which solves one or more ordinary differential equations (ODE) using the (implicit) midpoint method, solving the implicit equation using fsolve() from the pracma library of Hans Borchers.
midpoint_explicit, an R code which solves one or more ordinary differential equations (ODE) using the (explicit) midpoint method, also called the modified Euler method.
rk4, an R code which uses a 4-th order Runge-Kutta method to solve an ordinary differential equation (ODE).
trapezoidal, an R code which implements the (implicit) trapezoidal method for solving an ordinary differential equation (ODE), using fsolve() to handle the implicit equation, adapted from the pracma library of Hans Borchers.
trapezoidal_fixed, an R code which implements the (implicit) trapezoidal method for solving an ordinary differential equation (ODE), using a fixed point method to handle the implicit equation, adapted from the pracma library of Hans Borchers.
Based on "cranknic()" and other support functions from the R pracma library of Hans Borchers; Adapted by John Burkardt.