**ode_midpoint_test**,
a MATLAB code which
calls ode_midpoint(), which
interactively applies the midpoint method to estimate the solution
of an ordinary differential equation y'=f(x,y), over the interval [a,b],
with initial condition y(a)=ya, using n steps.

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

ode_midpoint, a MATLAB code which interactively applies the midpoint method to estimate the solution of an ordinary differential equation y'=f(x,y), over the interval [a,b], with initial condition y(a)=ya, using n steps.

- ode_midpoint_test.m the source code.
- ode_midpoint_test.sh runs all the tests.
- ode_midpoint_test.txt the output file.

- humps_deriv.m, an example of a user-defined right hand side function.
- humps_fun.m evaluates the exact solution of the differential equation.
- humps_10.png a plot of the solution using 10 steps.
- humps_100.png a plot of the solution using 100 steps.