fd_predator_prey_test


fd_predator_prey_test, an Octave code which calls fd_predator_prey(), which applies the finite difference method (FDM) to estimate solutions of a pair of ordinary differential equations that model the behavior of a pair of predator and prey populations.

Licensing:

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

Related Data and Programs:

fd_predator_prey, an Octave code which applies the finite difference method (FDM) to a predator-prey system with time dependence and no spatial variation.

Source Code:

PP_100 uses 100 timesteps, which are not enough.

pp_1000 uses 1000 timesteps, which are enough to see that there is a pattern, but not enough to catch the pattern accurately.

pp_10000 uses 10000 timesteps, which are enough.


Last revised on 19 June 2023.