Approximating Definite Integrals — Question 10

PDF ↗

Question 10

For Simpson’s Rule on [0,π][0,\pi], suppose |f(4)(x)|≤1.|f^{(4)}(x)|\le1. Find the smallest even nn that guarantees error at most 10−610^{-6}.

Original worksheet page 1: question and worked solution for 1-10-010
Show solutionHide solution

Question 10 – Solution

Step 1: Write Simpson’s error bound. |ES|≤K(b−a)5180n4.|E_S|\le\frac{K(b-a)^5}{180n^4}. Here K=1K=1 and b−a=πb-a=\pi, so |ES|≤π5180n4.|E_S|\le\frac{\pi^5}{180n^4}. Step 2: Require the bound to be at most 10−610^{-6}. π5180n4≤10−6,n4≥π5180⋅10−6,n≥(π5180⋅10−6)1/4≈36.109.\begin{align*} \frac{\pi^5}{180n^4}&\le10^{-6},\\ n^4&\ge\frac{\pi^5}{180\cdot10^{-6}},\\ n&\ge\left(\frac{\pi^5}{180\cdot10^{-6}}\right)^{1/4}\\ &\approx36.109. \end{align*} Step 3: Enforce Simpson’s even-nn requirement. The first even integer at least 36.10936.109 is 3838. n=38\boxed{n=38}

Original worksheet page 2: question and worked solution for 1-10-010

Original worksheet layout. Use Enlarge or open the PDF for a closer view.