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

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

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

- unstable_ode_test.m, calls all the tests.
- unstable_ode_test.sh, runs all the tests.
- unstable_ode_test.txt, the output file.

- backward_euler.m, applies the backward Euler method to solve an ODE.
- unstable_backward_euler.m, solves the ODE using backward_euler().
- unstable_backward_euler_plot.png, Y(t), Y'(t).
- unstable_backward_euler_comparison.png, Y(t), Yexact(t).

- midpoint.m, applies the midpoint method to solve an ODE.
- unstable_midpoint.m, solves the ODE using midpoint().
- unstable_midpoint_plot.png, Y(t), Y'(t).
- unstable_midpoint_comparison.png, Y(t), Yexact(t).