stiff_exact


stiff_exact, a Python code which returns an exact solution y(t) to a stiff ordinary differential equation (ODE) of the form y' = lambda * ( cos(t-t0) - y).

Licensing:

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

Languages:

stiff_exact 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 version.

Related Data and codes:

python_exact, a Python code which evaluates exact solutions to a few selected examples of ordinary differential equations (ODE) and partial differential equations (PDE).

stiff_ode, a Python code which sets up an ordinary differential equation (ODE) y'=lambda*(cos(t)-y), which exhibits stiffness, making accurate solution difficult.

Reference:

Source Code:


Last revised on 15 June 2025.