论文部分内容阅读
摘 要:数学建模在软件编程实际应用中是致关重要的一个环节,本人在卧式半球封头圆筒体罐容积计算中应用了公式法和数值分析法对其进行建模编程,在公式法中所用公式的数学推导是关键,在此通过对卧式半球封头圆筒体罐容积计算公式的全程推演,展现出一个复杂数学公式的得来过程以及在编程中的具体应用,另外通过数值分析建模编程所得结论对所推导公式的正确性进行相互验证,以增强对公式应用的可信度。
关键词:计算机软件编程;半球封头; 数学建模
中图分类号:TP31 文献标识码:A DoI: 10.3969/j.issn.1003-6970.2012.04.040
【Abstract】Mathematics built die in software programming actual application in the is to closed important of a links, I in horizontal hemisphere seal head cylinder body tank volume calculation in the application has formula method and numerical analysis method on its for built die programming, in formula method in the by with formula of mathematics derivation is key, this by on horizontal hemisphere seal head cylinder body tank volume calculation formula of full deduction, show out a complex mathematics formula of from process and in programming in the of specific application, By numerical analysis modeling program concluded on the correctness of the derivation of the formula for mutual authentication, to enhance the credibility of the formula.
【Key words】Computer software programming; Hemispherical head; Mathematical modeling
本程序应用了VB编程语言,利用Access数据库对卧式半球封头圆筒体罐容积编程计算。限于篇幅,本文从只从公式的推演建模方面进行编程,而数值分析建模编程应用本人有专门的书籍进行论述,这里不作叙述,从下面几个方面进行阐述:(1)公式建模与推导;(2)主要原程序代码及注释;(3)程序运行模拟成果及对比分析。
如图4所示,数据对比见表1、2。
在同一组数据参数下(保留4位小数,即微米范围内),依据圆筒体全面积公式计算总容积为159.1740 m3。按积分推导公式建模通过计算机程序运行计算总容积为159.1740m3,其绝对误差为0 m3;数值积分建模计算总容积为159.1740m3 ,其绝对误差为0m3。
保留8位小数时,通过不同高度下的部分容积计算数据统计表看,累积绝对误差0.00158817 m3,平均绝对误差0.00000397 m3,累积相对误差0.0000630 ‰。容积对比曲线图中可看出吻合度是非常高的。
[1] 徐尔贵, Visual Basic 6.0教程[M],电子工业出版社,2001;
[2] 柳重堪,高等数学(上、下册) [M],北京航空航天大学出版社,2000.
关键词:计算机软件编程;半球封头; 数学建模
中图分类号:TP31 文献标识码:A DoI: 10.3969/j.issn.1003-6970.2012.04.040
【Abstract】Mathematics built die in software programming actual application in the is to closed important of a links, I in horizontal hemisphere seal head cylinder body tank volume calculation in the application has formula method and numerical analysis method on its for built die programming, in formula method in the by with formula of mathematics derivation is key, this by on horizontal hemisphere seal head cylinder body tank volume calculation formula of full deduction, show out a complex mathematics formula of from process and in programming in the of specific application, By numerical analysis modeling program concluded on the correctness of the derivation of the formula for mutual authentication, to enhance the credibility of the formula.
【Key words】Computer software programming; Hemispherical head; Mathematical modeling
本程序应用了VB编程语言,利用Access数据库对卧式半球封头圆筒体罐容积编程计算。限于篇幅,本文从只从公式的推演建模方面进行编程,而数值分析建模编程应用本人有专门的书籍进行论述,这里不作叙述,从下面几个方面进行阐述:(1)公式建模与推导;(2)主要原程序代码及注释;(3)程序运行模拟成果及对比分析。
如图4所示,数据对比见表1、2。
在同一组数据参数下(保留4位小数,即微米范围内),依据圆筒体全面积公式计算总容积为159.1740 m3。按积分推导公式建模通过计算机程序运行计算总容积为159.1740m3,其绝对误差为0 m3;数值积分建模计算总容积为159.1740m3 ,其绝对误差为0m3。
保留8位小数时,通过不同高度下的部分容积计算数据统计表看,累积绝对误差0.00158817 m3,平均绝对误差0.00000397 m3,累积相对误差0.0000630 ‰。容积对比曲线图中可看出吻合度是非常高的。
[1] 徐尔贵, Visual Basic 6.0教程[M],电子工业出版社,2001;
[2] 柳重堪,高等数学(上、下册) [M],北京航空航天大学出版社,2000.