NivaarExam PrepOfficial exam papers ↗

04-BS-5 · December 2013

Question 6 of 7: Romberg Integration of Tabulated Data

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

Notes on this paper

National Exams — December 2013 — 04-BS-5 Advanced Mathematics. Three-hour, closed-book exam (one double-sided 8.5"×11" aid sheet permitted; approved Casio/Sharp calculator allowed). Format: seven questions (Q1 20, Q2 20, Q3 20, Q4 20, Q5 20, Q6 20, Q7 20 marks, per the printed marking scheme); any five constitute a complete paper and only the first five appearing in the answer book are marked. All seven are solved below for completeness.

Reference texts: Kreyszig, Advanced Engineering Mathematics (10th ed., Wiley) — power-series solutions of ODEs about an ordinary point (Ch. 5), Fourier series and the Fourier transform (Ch. 11), numerics in general: interpolation, root-finding, Romberg integration (Ch. 19), numeric linear algebra: LU factorization (Ch. 20); Burden & Faires, Numerical Analysis (9th ed., Cengage) — Newton divided-difference interpolation, finite-difference derivative stencils, Newton–Raphson/bisection/fixed-point convergence theory, Romberg extrapolation, Doolittle LU factorization.

Question 6: 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
$x$123456789
$y$121721242725232016

Find. $\int_1^9 y(x)\,dx$ approximated by the Romberg array through $R(4,4)$.

Approach. Build successively finer composite-trapezoid estimates $R(k,1)$ with $H_k=(b-a)/2^{k-1}$ using only the tabulated points at each level, then Richardson-extrapolate across the array using the supplied $R(k,j)$ formula.

0.52.34.15.97.79.50612182430dataxyExperimental data y(x)
Tabulated experimental data $y(x)$, $x=1$ to $9$.
  1. Level 1 ($H_1=8$, nodes $x=1,9$). $$R(1,1)=\dfrac{H_1}{2}[y(1)+y(9)]=\dfrac82[12+16]=\boxed{112.00000}$$
  2. Level 2 ($H_2=4$, new node $x=5$). $$R(2,1)=\dfrac12\big[R(1,1)+H_1\,y(5)\big]=\dfrac12[112+8(27)]=164.00000$$ $$R(2,2)=R(2,1)+\dfrac{R(2,1)-R(1,1)}{4^1-1}=164+\dfrac{164-112}{3}=\boxed{181.33333}$$
  3. Level 3 ($H_3=2$, new nodes $x=3,7$). $$R(3,1)=\dfrac12\big[R(2,1)+H_2(y(3)+y(7))\big]=\dfrac12[164+4(21+23)]=170.00000$$ $$R(3,2)=R(3,1)+\dfrac{R(3,1)-R(2,1)}{3}=172.00000,\qquad R(3,3)=R(3,2)+\dfrac{R(3,2)-R(2,2)}{15}=\boxed{171.37778}$$
  4. Level 4 ($H_4=1$, new nodes $x=2,4,6,8$ — every remaining table entry). $$R(4,1)=\dfrac12\big[R(3,1)+H_3(y(2)+y(4)+y(6)+y(8))\big]=\dfrac12[170+2(17+24+25+20)]=171.00000$$ $$R(4,2)=R(4,1)+\dfrac{R(4,1)-R(3,1)}{3}=171.33333$$ $$R(4,3)=R(4,2)+\dfrac{R(4,2)-R(3,2)}{15}=171.28889$$ $$\boxed{R(4,4)=R(4,3)+\dfrac{R(4,3)-R(3,3)}{63}=171.28748}$$
$k$$R(k,1)$$R(k,2)$$R(k,3)$$R(k,4)$
1112.00000
2164.00000181.33333
3170.00000172.00000171.37778
4171.00000171.33333171.28889171.28748