Professional Documents
Culture Documents
Engr 391 Lesson 7
Engr 391 Lesson 7
: NUMERICAL INTEGRATION
Numerical Integration
≅
.
where h = b-a
Newton-Cotes formula: Simpson Rule (3 points, closed)
or where h = (b-a)/2
( b−a ) ( b−a) b −a
+a + +a
b m m m
∫ f ( x) = ∫ f (x )+ ∫ f ( x ) +…
a a ( b−a )
+a
m
( b −a) + a/ m
∫ f ( x)=
( b−a
m
−a )∗f (
m )
b−a
−f ( a)
a 2
Same than trapezoid except we use Simpson Rule formula to replace f(x).
=
¿ c isa∨b , whatever will givethe maximm value of f ' '∨IV ( c )
o Simpson Rule 1/3
Error Control: Truncation error if used composite
o Trapezoid Rule
b-a/2
b-a/4
b-a/8
b-a/16