A small lamp lies in the plane of a circular ring of unit radius
PHYSICS · Multi-part · Fermi University Physics · Mathematical Methods for Physics · Numerical and computational mathematics · Numerical and computational mathematics
Error, Chance and the Machine, Ch Integration: error expansions, Gauss rules and adaptivity
Problem
A small lamp lies in the plane of a circular ring of unit radius, at distance ρ=21 from the centre, with all lengths in units of the ring radius. By the cosine rule the squared distance from the lamp to the point of the ring at angle θ is 1+ρ2−2ρcosθ=1.25−cosθ, so the intensity there is proportional to f(θ)=1/(1.25−cosθ). The integral I=∫02πfdθ=8π/3=8.377580 is exact. The Fourier series of f is f(θ)=∑kakeikθ with ak=342−∣k∣, from summing two geometric series. Write TN=N2π∑j=0N−1f(2πj/N) for the trapezium rule with N points over one period.
((a)) Compute T4 and T8, and their errors TN−I.
((b)) Use the Euler-Maclaurin formula to explain why these errors are not a constant times h2, and why the second error is not one quarter of the first.
((c)) Use Eq. (5.11) and the given coefficients ak to find TN−I in closed form. Check it against part (a) and say what fixes the factor by which the error shrinks for each added point, in terms of the poles of f in the complex θ plane.
((d)) Find the smallest N for which the error is below 10−10.