**midpoint_test**,
a MATLAB code which
calls midpoint(), which
solves one or more ordinary differential equations (ODE)
using the midpoint method.

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

midpoint, a MATLAB code which solves one or more ordinary differential equations (ODE) using the midpoint method.

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

- predator_prey_deriv.m, returns the right hand side of the predator prey ODE.
- predator_prey_midpoint_fixed_test.m, solves the predator prey ODE using the midpoint_fixed method.
- predator_prey_midpoint_fixed.png, a plot of the solution.
- predator_prey_midpoint_fsolve_test.m, solves the predator prey ODE using the midpoint_fsolve method.
- predator_prey_midpoint_fsolve.png, a plot of the solution.

- stiff_deriv.m, returns the right hand side of the stiff ODE.
- stiff_exact.m, returns the exact solution of the stiff ODE.
- stiff_midpoint_explicit_test.m, solves the stiff ODE using the midpoint method + explicit backward Euler.
- stiff_midpoint_explicit.png, a plot of the solution.
- stiff_midpoint_fixed_test.m, solves the stiff ODE using the midpoint method + fixed point iteration.
- stiff_midpoint_fixed.png, a plot of the solution.
- stiff_midpoint_fsolve_test.m, solves the stiff ODE using the midpoint method + fsolve.
- stiff_midpoint_fsolve.png, a plot of the solution.