**ode_trapezoidal_test**,
a MATLAB code which
calls ode_trapezoidal(), which
interactively applies the trapezoidal method to estimate the solution
of an ordinary differential equation (ODE) 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_trapezoidal, a MATLAB code which interactively applies the trapezoidal 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_trapezoidal_test.m the source code.
- ode_trapezoidal_test.sh runs all the tests.
- ode_trapezoidal_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.