The integral has an integrand that grows without bound at
PHYSICS · Multi-part · Fermi University Physics · Mathematical Methods for Physics · Computational Physics · Scientific programming for physicists
Computational Physics, Ch Differentiating and integrating numbers
Problem
The integral I=∫01x−1/2e−xdx has an integrand that grows without bound at x=0, yet the area under it is finite. Its exact value is I=πerf(1)=1.4936483.
((a)) Say why the trapezium rule and Simpson's rule cannot be run on I as it stands, and why the composite midpoint rule can be. State the order a halving table for the composite midpoint rule would show on this integrand, and why it is not 2.
((b)) Find the substitution that removes the singularity, and show that it turns I into 2∫01e−u2du, whose integrand is bounded and smooth on the whole interval.
((c)) Apply Simpson's rule to the transformed integral at N=4, 8 and 16, quote each estimate to seven figures, and form the ratios of consecutive errors against I. State whether the order is the one Simpson's derivation promises.