NivaarExam PrepOfficial exam papers ↗

04-BS-5 · December 2016

Question 5 of 7: Romberg Integration of Tabulated Data

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

National Examinations, December 2016 — 04-BS-5 Advanced Mathematics, 3 hours, closed book (one double-sided aid sheet permitted). Any five of the seven questions constitute a complete paper; all seven are answered below as a full study resource.

Reference texts: Kreyszig, Advanced Engineering Mathematics, 10th ed. (Wiley) — Ch. 5 (Power Series Solutions of ODEs), Ch. 11 (Fourier Series and Transforms), Ch. 19 (Interpolation, Curve Fitting, Numerical Integration, Solution of Equations by Iteration), Ch. 20 (Numerical Linear Algebra / Cholesky Factorization).

Question 5: Romberg Integration of Tabulated Data (20 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Given data (Q5)
$x$00.51.01.52.02.53.03.54.0
$f(x)$55647686100110124135145

Given. Nine tabulated $(x,f(x))$ pairs spaced $h=0.5$ apart on $[0,4]$.

Find. $\displaystyle\int_0^4f(x)\,dx$, approximated through the Romberg array $R(4,4)$.

Approach. Build the trapezoidal column $R(k,1)$ by successively halving the step ($H_1=4,H_2=2,H_3=1,H_4=0.5$), then apply Richardson extrapolation across each row using the printed recursion $R(k,j)=R(k,j-1)+\dfrac{R(k,j-1)-R(k-1,j-1)}{4^{j-1}-1}$.

  1. Coarsest trapezoid, $H_1=4$ (endpoints only). $$R(1,1)=\frac{H_1}{2}\bigl[f(0)+f(4)\bigr]=\frac{4}{2}(55+145)=400.0$$
  2. $H_2=2$ (adds $f(2)=100$). $$R(2,1)=\frac12\bigl[R(1,1)+H_1\cdot f(2)\bigr]=\frac12[400+4(100)]=400.0,\qquad R(2,2)=R(2,1)+\frac{R(2,1)-R(1,1)}{3}=400.0$$
  3. $H_3=1$ (adds $f(1)=76,\ f(3)=124$). $$R(3,1)=\frac12\bigl[R(2,1)+H_2(76+124)\bigr]=\frac12[400+2(200)]=400.0$$ $$R(3,2)=400.0+\frac{400.0-400.0}{3}=400.0,\qquad R(3,3)=400.0+\frac{400.0-400.0}{15}=400.0$$
  4. $H_4=0.5$ (adds $f(0.5),f(1.5),f(2.5),f(3.5)=64,86,110,135$) — the row that finally reveals curvature. $$R(4,1)=\frac12\bigl[R(3,1)+H_3(64+86+110+135)\bigr]=\frac12[400+1(395)]=397.5$$ $$R(4,2)=397.5+\frac{397.5-400.0}{3}=396.667,\quad R(4,3)=396.667+\frac{396.667-400.0}{15}=396.444$$ $$\boxed{R(4,4)=396.444+\frac{396.444-400.0}{63}=396.39}$$
$k$$R(k,1)$$R(k,2)$$R(k,3)$$R(k,4)$
1400.00
2400.00400.00
3400.00400.00400.00
4397.50396.67396.44396.39