stiff_exact, a MATLAB code which returns an exact solution y(t) to a stiff ordinary differential equation (ODE) of the form y' = lambda * ( cos(t-t0) - y).
The information on this web page is distributed under the MIT license.
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.
matlab_exact, a MATLAB code which evaluates exact solutions to a few selected examples of ordinary differential equations (ODE) and partial differential equations (PDE).
stiff_ode, a MATLAB code which sets up an ordinary differential equation (ODE) y'=lambda*(cos(t)-y), which exhibits stiffness, making accurate solution difficult.