
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

− 1
f (x) dx ≈ w 0 f (−1) + w 1 f (− 1 /3) + w 2 f (1/3) + w 3 f (1).
Using the fact that this formula is to be exact for all polynomials of degree 3 show that
2 w 0 + 2w 1 = 2 ,
2 w 0 +
w 2 =
and hence find the values of the weights w 0 , w 1 , w 2 , and w 3.
∫ (^1) − 1 f^ (x)^ dx and (i) Simpson’s rule and (ii) the formula derived in the last exercise. Deduce that for every polynomial of degree 5 formula (ii) is more accurate than formula (i). Find a polynomial of degree 6 for which formula (i) is more accurate than formula (ii).