Skip to content

This program is coded using Python and uses two adaptive variable step-size integration methods (adaptive trapezoidal rule and adaptive Simpson's rule) to calculate the numerical integral value of a function. /本程序使用Python进行编程,使用两种自适应变步长积分方法(自适应梯形法与自适应辛普森法)计算函数的数值积分值。

License

Notifications You must be signed in to change notification settings

fei-AF/adaptive-integration-methods

 
 

Repository files navigation

adaptive integration methods

本程序使用Python进行编程,使用两种自适应变步长积分方法(自适应梯形法与自适应辛普森法)计算函数的数值积分值。相对于传统方法,此方法具有更快的计算速度,而且还可以节省计算资源。通过修改参数和重新定义函数,可以达到指定精度并求解指定函数的积分值。代码中有详细注释,以便您更好地理解代码内容。/ This program is coded using Python and uses two adaptive variable step-size integration methods (adaptive trapezoidal rule and adaptive Simpson's rule) to calculate the numerical integral value of a function. Compared to traditional methods, this method has a faster computation speed and can save computing resources. By modifying parameters and redefining functions, specific accuracy can be achieved, and the integral value of the specified function can be calculated. The code also contains detailed annotations to help you better understand the content of the code.

About

This program is coded using Python and uses two adaptive variable step-size integration methods (adaptive trapezoidal rule and adaptive Simpson's rule) to calculate the numerical integral value of a function. /本程序使用Python进行编程,使用两种自适应变步长积分方法(自适应梯形法与自适应辛普森法)计算函数的数值积分值。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%