next up previous contents
Next: AUTO Demos : Up: AUTO Demos : Previous: phs : Effect

ivp : Time Integration with Euler's Method.

  This demo uses Euler's method to locate a stationary solution of the following predator-prey system with harvesting :

equation2833

where all problem parameters have a fixed value. The equations are the same as those in demo pp2. The continuation parameter is the independent time variable, namely PAR(14).

Note that Euler time integration is only first order accurate, so that the time step must be sufficiently small to ensure correct results. Indeed, this option has been added only as a convenience, and should generally be used only to locate stationary states. Note that the AUTO-constants DS, DSMIN, and DSMAX control the step size in the space consisting of time, here PAR(14), and the state vector, here tex2html_wrap_inline9786 .

 

COMMAND ACTION
mkdir ivp create an empty work directory
cd ivp change directory
@dm ivp copy the demo files to the work directory
cp r.ivp.1 r.ivp get the constants-file
@r ivp time integration
@sv ivp save output-files as p.ivp, q.ivp, d.ivp
Table 10.14: Commands for running demo ivp.

 



Gabriel Lord
Tue Jan 25 09:54:03 GMT 2000