stetter_ode_test


stetter_ode_test, an Octave 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.

Licensing:

The information on this web page is distributed under the MIT license.

Related Data and Programs:

stetter_ode, an Octave 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.

Source Code:


Last revised on 25 May 2021.