首页 > 编程知识 正文

数学建模(数学建模:Malthus人口模型)

时间:2023-05-04 01:58:26 阅读:123048 作者:4875

clearallclcdsolve('dx=r*x ',' x )0)=x0 ); %x(t )=x0 * exp (r * t ) %美国人口数据t=0:1:21 x=[3.9、5.3、7.2、9.6、12.9、17.1,也称为Malthus人口模型x0=6.0496; a=log(x0; R1=(y-a )/t; DISP(r=) R1 )/10年) ) y1=x0*exp ) R1*t ); subplot(2、2、1 ); plot(t、x、() r )、t、y1、)-b ) ) %方法二xx )1)=(-3*x )1)4*x )2)-x )3) )2); xx(22 )=(x ) 20(-4*x ) 21 (3* x ) 22 ) )/2; fork=2:21xx(k ) ) x ) k1 )-x ) k-1 ) )/2; endr=xx./x; ar=sum(r )/22y2 ) x )1) exp ) ar*t ); subplot (t (2,2,2 ) plot ) t,x,' *r ',t,y2,'-g ' ) ar=ar * ones (size ) t ) ); %改进的指数增长模型subplot (t (2,2,3 ) plot ) t,r,' *r ',t,ar,' b- ' ) dsolve ) ) dx=(R0R1*t ) x,' x () 0 R1=P1(1; y4=x(1) exp ) ) R1*T.^2)/2 r0*t ); subplot (t (2,2,4 ) plot ) t,x,' *r ',t,y4,'-b ' )

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。