摘要
在现实生活中,一个数学模型的解析解几乎是不可能存在的,此时计算数值解就显得尤为重要。Python语言有着简单易学、开源等特点,在数值计算领域中颇有建树。文章以Python语言为基础,在利用数值微分、三次样条插值和数值积分等方法对问题进行建模后,应用诸多Python的第三方扩展库,解决了一道现实问题。通过对数值计算问题的常见方法作介绍,以期为相关数值计算工作提供参考。
In real life,the analytical solution of a mathematical model is almost impossible to exist,so it is particularly important to calculate the numerical solution.Python language is easy to learn,open source and other characteristics,in the field of numerical computing has made considerable achievements.Based on Python language,this paper uses numerical differentiation,cubic spline interpolation and numerical integration to model the problem,and uses many Python third-party extension libraries to solve a practical problem.The common methods of numerical calculation problems are introduced in order to provide reference for the work of numerical calculation.
作者
罗堂耘
陈卓鑫
Luo Tangyun;Chen Zhuoxin(Chengdu University of Technology,Chengdu 610059,China)
出处
《无线互联科技》
2023年第11期113-116,共4页
Wireless Internet Technology
关键词
数值计算
数值解
数学模型
PYTHON
numerical calculation
numerical solution
mathematical model
Python