Pre-Engineering 220 Introduction to MatLab ® & Scientific Programming j kiefer



Download 8.69 Mb.
Page88/128
Date02.05.2018
Size8.69 Mb.
#47255
1   ...   84   85   86   87   88   89   90   91   ...   128

A. Newton-Cotes Formulæ




1. Trapezoid Rule

a. Graphs



Graphically, a definite integral is the area between the x-axis and the curve f(x). Areas below the axis are negative; areas above the axis are positive.

b. Trapezoids



The area “under” the curve might be approximated most simply by a series of trapezoids and triangles.





Notice that x1 = a and that x8 = b.


c. Interpolating polynomial

In effect, we are replacing the integrand, f(x), by a straight line between each pair of points:



.

This can be checked by integrating p1(x) analytically.



Download 8.69 Mb.

Share with your friends:
1   ...   84   85   86   87   88   89   90   91   ...   128




The database is protected by copyright ©ininet.org 2024
send message

    Main page