> with(plots):

> with(DEtools):

> exponential:=diff(y(t),t)=r*y(t);

> logistic:=diff(y(t),t)=r*y(t)*(1-y(t)/M);

> harvesting:=diff(y(t),t)=r*y(t)*(1-y(t)/M)-H;

> expsol:=dsolve({exponential,y(0)=y0},y(t));

[Maple Math]

> logisticsol:=dsolve({logistic,y(0)=y0},y(t));

> harvestingsol:=dsolve({harvesting,y(0)=y0},y(t));

[Maple Math]

> expplot:=subs(r=0.2,y0=1400,rhs(expsol));

[Maple Math]

> logisticplot:=subs(r=0.2,y0=1400,M=100000,rhs(logisticsol));

[Maple Math]

Do the following commands for t range max of 10, 20, 100, sequentially.

> plot(expplot,t=0..10);

> plot(logisticplot,t=0..10);

> plot({expplot,logisticplot},t=0..20);

> exponential;

[Maple Math]

> logistic;

> harvesting;

> numexponential:=subs(r=0.2,exponential);

[Maple Math]

> numlogistic:=subs(r=0.2,M=100000,logistic);

[Maple Math]

> numharvesting:=subs(r=0.2,M=100000,H=200,harvesting);

[Maple Math]

Note the y axis in the following 3 plots. All of them go from t=0..20 but after 20 years the population is very different.

> DEplot(numexponential,y(t),t=0..20,[[y(0)=1400]],'arrows'='NONE');

> DEplot(numlogistic,y(t),t=0..20,[[y(0)=1400]],'arrows'='NONE');

> DEplot(numharvesting,y(t),t=0..20,[[y(0)=1400]],'arrows'='NONE',stepsize=0.01);

Now compare the logistic and harvesting models for long times.

> DEplot(numlogistic,y(t),t=0..50,[[y(0)=1400]],'arrows'='NONE',stepsize=0.01);

> DEplot(numharvesting,y(t),t=0..50,[[y(0)=1400]],'arrows'='NONE');

Let's examine the equilibria dy/dt = 0 of the logistic and harvesting models.

> logistic;

> harvesting;

> rhs(logistic);

> solve(%,y(t));

[Maple Math]

> rhs(harvesting);

> subs(r=0.2,M=100000,H=200,%);

[Maple Math]

> solve(%,y(t));

>

>

[Maple Math]

>