trapezoidal_fixed


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.

Licensing:

The computer code and data files made available on this web page are distributed under the MIT license

Languages:

trapezoidal_fixed is available in a MATLAB version and an Octave version and a Python version and an R version.

Related Data and Programs:

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 backward Euler method for solving an ordinary differential equation (ODE).

trapezoidal_test

euler, an R code which uses the Euler method to solve a single ordinary differential equation (ODE).

eulersys, an R code which uses the Euler method to solve a system of ordinary differential equations (ODE).

midptivp, an R code which uses the midpoint method to solve an ordinary differential equation (ODE).

rungekutta4, 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.

Author:

Adapted from original R code "cranknic()" by Hans Borchers for the pracma library; Modifications by John Burkardt.

Reference:

  1. Hans Borchers,
    package 'pracma'.

Source Code:


Last revised on 26 April 2021.