predator_answers
Matlab:
-
euler.m,
the Euler ODE solver.
-
predator_deriv.m,
a function which defines the derivatives associated with
the predator-prey ODE system.
-
predator_euler.m,
a script to test the Euler code with predator_deriv(),
producing a solution plot.
-
predator_euler_conservation.m,
solve the predator-prey ODE, plot the solution and phase plane,
tabulate the conservation quantity.
-
predator_euler_phase.m,
a script to test the Euler code with predator_deriv(),
producing a phase plane plot.
Images:
Last revised on 09 September 2020.