Algorithm Optimization In Engineering Calculation Based On Self-Programming

Dajiang Geng, Xuesheng Jin, Zhicheng Bai, Ning Dai
{"title":"Algorithm Optimization In Engineering Calculation Based On Self-Programming","authors":"Dajiang Geng, Xuesheng Jin, Zhicheng Bai, Ning Dai","doi":"10.1109/ACEDPI58926.2023.00092","DOIUrl":null,"url":null,"abstract":"Many natural and engineering phenomena can be attributed to the ordinary differential equation problems, and Euler methods are the most commonly used for solving ordinary differential equations. In this study, the theoretical analysis method is used to clarify the principle of Euler’s method to solve the ordinary differential equations firstly. Secondly, one typical example is set to compare the calculation accuracy and efficiency of the forward Euler formula, backward Euler formula, trapezoidal formula and modified Euler formula by self-programming. The results show that the calculation accuracy of Euler methods generally depend on the calculation step. As the step decreases, the calculation accuracy is gradually improved. In addition, the calculation efficiency and accuracy of the modified Euler method are very high, and the calculation accuracy of the trapezoidal formula and modified Euler method are quite close. However, the calculation accuracy of the forward Euler formula and the backward Euler formula can’t compare with those of the trapezoidal formula and the modified Euler method. Therefore, it is recommended to use the modified Euler’s method in engineering calculations, and the trapezoidal formula is secondly recommended.","PeriodicalId":124469,"journal":{"name":"2023 Asia-Europe Conference on Electronics, Data Processing and Informatics (ACEDPI)","volume":"8 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 Asia-Europe Conference on Electronics, Data Processing and Informatics (ACEDPI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ACEDPI58926.2023.00092","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Many natural and engineering phenomena can be attributed to the ordinary differential equation problems, and Euler methods are the most commonly used for solving ordinary differential equations. In this study, the theoretical analysis method is used to clarify the principle of Euler’s method to solve the ordinary differential equations firstly. Secondly, one typical example is set to compare the calculation accuracy and efficiency of the forward Euler formula, backward Euler formula, trapezoidal formula and modified Euler formula by self-programming. The results show that the calculation accuracy of Euler methods generally depend on the calculation step. As the step decreases, the calculation accuracy is gradually improved. In addition, the calculation efficiency and accuracy of the modified Euler method are very high, and the calculation accuracy of the trapezoidal formula and modified Euler method are quite close. However, the calculation accuracy of the forward Euler formula and the backward Euler formula can’t compare with those of the trapezoidal formula and the modified Euler method. Therefore, it is recommended to use the modified Euler’s method in engineering calculations, and the trapezoidal formula is secondly recommended.
基于自规划的工程计算算法优化
许多自然和工程现象都可以归结为常微分方程问题,而欧拉方法是求解常微分方程最常用的方法。本研究首先采用理论分析的方法阐明了欧拉法求解常微分方程的原理。其次,通过一个典型的算例,比较了正演欧拉公式、后演欧拉公式、梯形公式和自编程修正欧拉公式的计算精度和效率。结果表明,欧拉法的计算精度一般取决于计算步长。随着阶跃的减小,计算精度逐渐提高。此外,修正欧拉法的计算效率和精度都很高,梯形公式与修正欧拉法的计算精度相当接近。然而,正演欧拉公式和反演欧拉公式的计算精度无法与梯形公式和修正欧拉法相比。因此,在工程计算中建议采用修正欧拉法,其次推荐采用梯形公式。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信