Adaptive Quadrature 9
(d) With f(x) = tan−1x,a= 0 and b= 1, we find
7. Determine the number of function evaluations which would be needed to guar-
antee an accuracy of 10 decimal places in the approximation to the value of
I=Z5
0
50
π(1 + 2500x2)dx
using the composite Simpson’s rule and the composite two-point Gaussian quadra-
ture rule. Compare with the number of function evaluations required by the
corresponding adaptive routines listed in the second example above.
The solution of this inequality is n≥169679.64; therefore, we use n= 169680, and
In Exercises 8 – 16, approximate the value of the given integral to six (6) and
to ten (10) decimal places using the adaptive quadrature scheme of your choice.