Approximating Definite Integrals — Question 6

PDF ↗

Question 6

How large must nn be for TnT_n to approximate ∫01exdx\int_0^1e^x\,dx within 10−410^{-4}? Use |f″(x)|≤e|f''(x)|\le e.

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

Question 6 – Solution

Step 1: Write the trapezoidal error bound. |ET|≤K(b−a)312n2.|E_T|\le\frac{K(b-a)^3}{12n^2}. Here K=eK=e and b−a=1b-a=1, so |ET|≤e12n2.|E_T|\le\frac{e}{12n^2}. Step 2: Require the bound to be at most 10−410^{-4}. e12n2≤10−4,e≤0.0012n2,n2≥e0.0012≈2265.23,n≥2265.23≈47.594.\begin{align*} \frac{e}{12n^2}&\le10^{-4},\\ e&\le0.0012n^2,\\ n^2&\ge\frac{e}{0.0012}\approx2265.23,\\ n&\ge\sqrt{2265.23}\approx47.594. \end{align*} Step 3: Choose the smallest integer. n=48\boxed{n=48}

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

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