ode


ode, a C++ code which solves a system of ordinary differential equations (ODE), by Shampine and Gordon.

Given a system of ordinary differential equations of the form

        Y' = F(T,Y)
        Y(T0) = Y0
      
this program produces a sequence of approximate solution values Y(TOUT) at later times TOUT.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

ode is available in a C version and a C++ version and a Fortran77 version and a Fortran90 version.

Related Data and Programs:

ode_test

cpp_ode_solver, a C++ code which solves one or more differential equations (ODE) using a method of a particular order, either explicit or implicit. Some methods require a nonlinear equation solver. Some methods used a fixed stepsize, while others adapt the stepsize based on an error estimate.

Author:

Original Fortran77 code by Lawrence Shampine, Marilyn Gordon. This version by John Burkardt.

Reference:

  1. Lawrence Shampine, Marilyn Gordon,
    Computer Solution of Ordinary Differential Equations: The Initial Value Problem,
    Freeman, 1975,
    ISBN: 0716704617,
    LC: QA372.S416.

Source Code:


Last revised on 29 March 2020.