Professional Documents
Culture Documents
Simpson Rule
Simpson Rule
Rb n/2
h
P
a f (x)dx ≈ 3 [f (x2i−2) + 4f (x2i−1) + f (x2i)]
i=1
n/2 n/2−1
= h3 [f (x0) + 4
P P
f (x2i−1) + 2 f (x2i) + f (xn)]
i=1 i=1