unstable_ode


unstable_ode, an Octave code which sets up and solves an unstable ordinary differential equation (ODE) which the backward Euler method incorrectly drives to zero.

Licensing:

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

Languages:

unstable_ode is available in a MATLAB version and an Octave version and a Python version.

Author:

This example, which demonstrates that the "stability" of the backward Euler method can sometimes completely destroy the correct solution, was thought up and implemented by Catalin Trenchea, to make a point.

Related Data and codes:

unstable_ode_test

octave_ode, an Octave code which sets up various ordinary differential equations (ODE).

Source Code:


Last revised on 28 October 2021.