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

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

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

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

**PP_100** uses 100 timesteps, which are not enough.

- pp_100.txt, the data.
- pp_100_time.png, a time plot.
- pp_100_phase.png, a phase plot.

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

- pp_1000.txt, the data.
- pp_1000_time.png, a time plot.
- pp_1000_phase.png, a phase plot.

**pp_10000** uses 10000 timesteps, which are enough.

- pp_10000.txt, the data.
- pp_10000_time.png, a time plot.
- pp_10000_phase.png, a phase plot.