sawtooth_ode, a Python code which sets up and solves an ordinary differential equation (ODE) driven by a right hand side which is a sawtooth function (periodic, discontinuous, piecewise linear).
The computer code and data files described and made available on this web page are distributed under the MIT license
sawtooth_ode is available in a MATLAB version and an Octave version and a Python version.
python_ode, Python codes which sets up various systems of ordinary differential equations (ODE).