**stetter_ode_test**,
a MATLAB code which
calls stetter_ode(), which
defines an ordinary differential equation (ODE) for which a specific
time step sequence causes the implicit trapezoidal rule to be
unstable, while the implicit midpoint rule will be stable.
Note that the right hand side function f(t,y) is periodic,
discontinuous, and piecewise linear.

stetter_ode, a MATLAB code which defines an ordinary differential equation (ODE) for which a specific time step sequence causes the implicit trapezoidal rule to be unstable, while the implicit midpoint rule will be stable. Note that the right hand side function f(t,y) is periodic, discontinuous, and piecewise linear.

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

- stetter_backward_euler.m, a version of the backward Euler method for the Stetter ODE.
- stetter_euler.m, a version of the Euler method for the Stetter ODE.
- stetter_midpoint.m, a version of the midpoint method for the Stetter ODE.
- stetter_trapezoid.m, a version of the trapezoidal method for the Stetter ODE.