[关闭]
@guoxiaowhu 2016-04-24T01:52:36.000000Z 字数 993 阅读 1101

人口增长模型

————计算物理第五次作业

未分类
Author:GUO Xiao


摘要

继1.5题之后,又采用Euler法求解课本上的problem1.6

背景介绍

人口的增长速率有两项,一项是出生率,正比于总人口数N,另一项是死亡率,正比于总人口数的平方


解出此微分方程就可以得到总人口数N(t).

Numerical solution

Discretize this differential equation, we obtain


Then it can be numerical solved by iteration.

Exact solution




When ,, so

From this solution,we can find that if , when ,;if ,.

Results

Solution program code
To makes sure the accuracy of numerical solution,I let dt=0.001.

1.

When, b has different values.
a=1
When , is exponenital growth;
When , will decrease(or increase) till reach a stable state .If , will keep constant .

2.

When
a=0.1

3.

When
a=2

Conclusions

-1.If ,N will exponenitally grow without limit.
-2.If ,N will gradually reach a stable state .At the same time,if, will keep constant .

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注