predprey - integrate the Lotka-Volterra system
[-seed integer] [-points integer] [-f0 double] [-s0
double] [-a double] [-b double] [-c double] [-d
double] [-dt double]
Integrates the two-species Lotka-Volterra predator-prey
dF/dt = F(a - bS), dS/dt = S(cF - d),
according to the specified parameters.
Seed for random parameters.
Number of points to produce.
Initial fish population.
Initial shark population.
Fish growth rate.
Shark consumption rate.
Fish nutritional value.
Shark death rate.
Time step increment.
The program uses a second-order Euler's method to perform
the numerical integration, which is sufficient for simple
tasks such as this.
No sanity checks are performed to make sure that any of
the options make sense.
Copyright (c) 1997, Gary William Flake.
Permission granted for any use according to the standard
GNU ``copyleft'' agreement provided that the author's com-
ments are neither modified nor removed. No warranty is
given or implied.