资源描述:
《数学建模 航空公司的预订票策略.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、书上作业:P317“取β=0.75,t=50,100,150,其他参数同上,计算结果表明,当t增加时和均有所减少”写出程序及结果。模型求解求解的程序如下:n=300;lambda=0.6;p=0.05;bg=0.2;beta=0.75;t=50;nn=50;form=n:n+nnj(m-n+1)=jm(m,n,lambda,p,bg,beta,t);endj'其中函数程序为:functiony=jm(m,n,lambda,p,bg,beta,t)q=1-p;bb=0:m-n-1;pk=pdf('bino',bb,m-t,p);temp=sum((m-n-bb).*pk);y
2、=(q*m-(q-beta)*t-(1+bg)*temp)/(lambda*(n-((1-beta)*t)))-1;求解的程序如下:n=300;nn=50;p=0.1;j=10;form=n:n+nnpp(m-n+1)=pj(m,n,j,p);endpp'其中函数程序为:functiony=pj(m,n,j,p)bb=0:m-n-j-1;t=50;pk=pdf('bino',bb,m-t,p);y=sum(pk);取p=0.05,0.1;t=50,100,150;bg=0.2,0.4;j=5,10,得到计算结果。(对照书本上可将计算结果制定成表格)实验结果:表1p=0,05
3、时的计算结果mJp5P10bg=0.2bg=0.4t=50t=100t=150t=50t=100t=150t=50t=100t=150t=50t=100t=1503000.59420.60610.6190.59420.60610.6190000003010.59970.61180.62510.59970.61180.62510000003020.60520.61760.63110.60520.61760.63110000003030.61070.62330.6370.61070.62330.6370000003040.61620.6290.64270.61620.6290.
4、64260000003050.62170.63460.64790.62170.63460.64770000003060.62710.640.65240.62710.63990.6519000.00030003070.63250.6450.6560.63240.64480.655200.00030.00290003080.63760.64950.65870.63750.64910.65720.00020.00170.01320003090.64250.65330.66030.64230.65260.65810.00090.00640.04020003100.64690.656
5、30.66110.64650.65510.6580.00320.01890.09390003110.65080.65850.66120.65010.65670.65710.00910.0450.1797000.00033120.6540.65990.66080.6530.65730.65560.02190.09090.294900.00020.00233130.65660.66050.660.6550.65710.65380.04590.16050.42820.00020.00130.01083140.65840.66060.65910.65630.65630.65160.
6、08540.25310.5640.00070.00530.03373150.65960.66030.6580.65670.6550.64940.14330.36310.68770.00260.01590.08083160.66020.65970.65680.65650.65330.6470.22010.48150.78970.00770.03870.15843170.66030.65880.65570.65570.65130.64470.31280.59770.86680.01880.07960.26583180.660.65790.65450.65440.64920.64
7、230.41610.70270.92030.040.14310.39393190.65940.65680.65330.65280.6470.63990.52240.79080.9550.07560.22970.52843200.65870.65570.65210.6510.64480.63750.62470.85970.97590.12880.33490.65473210.65780.65460.65090.64910.64250.6350.71670.91020.98770.20060.45070.7623220