grazing_ode, a Python code which sets up and solves a pair of ordinary differential equations (ODE) that model the populations of an edible plant, and the herbivore that grazes on it.
In some ways, this problem recalls the predator-prey or Lotka-Volterra ODE, but in this case, there is a stable attracting solution, and strictly positive starting points are gradually attracted to it.
The computer code and data files described and made available on this web page are distributed under the MIT license
grazing_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).