牛頓-寇次公式
辛普森法则
辛普森法则(Simpson's rule,又稱森遜法則)是:
同樣地,辛普森法则也有多重的版本:
或寫成
牛頓-寇次公式
牛頓-寇次公式(Newton-Cotes rule / Newton-Cotes formula)以Roger Cotes和艾薩克·牛頓命名。其內容是:
其中對,是常數(由的值決定),。
梯形法則和辛卜生法則便是的情況。
亦有不採用在邊界點來估計的版本,即取 。
缺點
對於次數較高的多項式而有很大誤差(龍格現象),不如高斯積分法。
例子
下表中,,
精度 | 名稱 | 公式 | 誤差 |
---|---|---|---|
1 | 梯形法則 | ||
2 | 辛卜生法則 | ||
3 | 辛卜生3/8法則 辛卜生第二法則 | ||
4 | 保爾法則 (Boole's rule / Bode's rule) | ||
不用界點的 | |||
0 | 中點法 | ||
1 | |||
2 | |||
3 |
參考
- M. Abramowitz and I. A. Stegun, eds. Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. New York: Dover, 1972. (See Section 25.4.)
- George E. Forsythe, Michael A. Malcolm, and Cleve B. Moler. Computer Methods for Mathematical Computations. Englewood Cliffs, NJ: Prentice-Hall, 1977. (See Section 5.1.)
- William H. Press, Brian P. Flannery, Saul A. Teukolsky, William T. Vetterling. Numerical Recipes in C. Cambridge, UK: Cambridge University Press, 1988. (See Section 4.1.)
- Josef Stoer and Roland Bulirsch. Introduction to Numerical Analysis. New York: Springer-Verlag, 1980. (See Section 3.1.)
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.