NivaarExam PrepOfficial exam papers ↗

04-BS-5 · May 2014

Question 5 of 7: Romberg Integration from Tabulated Data

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

Notes on this paper

National Exams — May 2014 — 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 of equal value (20 marks each, with internal splits as marked); 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) — Sturm–Liouville eigenproblems, Fourier series and the Fourier transform (Ch. 11), least-squares curve fitting, Lagrange/Newton interpolation, Romberg integration, and root-finding by bisection/Newton/fixed-point iteration (Ch. 19), Cholesky factorization (Ch. 20); Strang, Introduction to Linear Algebra (6th ed., Wellesley-Cambridge) — symmetric positive-definite systems and Cholesky factorization.

Question 5: Romberg Integration from 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
x1.001.502.002.503.003.504.004.505.00
y10.6011.2515.2017.5021.8526.2532.3039.1546.90

Find. The area $\int_1^5 y(x)\,dx$, approximated by Romberg's algorithm through $R(4,4)$ using the tabulated values at $H_4=0.5$.

Tabulated y(x): area estimated by Romberg (official Q5)0.51.11.82.433.64.24.95.501021314252xy
The nine tabulated (x, y) points; the shaded region is the area Romberg's algorithm estimates.

Approach. Build the trapezoidal column $R(k,1)$ at successively halved step sizes $H_k=(b-a)/2^{k-1}$ (using coarser-to-finer subsets of the table), then apply Richardson extrapolation column by column to reach $R(4,4)$.

  1. Level 1: coarsest trapezoid, $H_1=4$ (endpoints only). $$R(1,1)=\frac{H_1}{2}\big[f(1)+f(5)\big]=\frac{4}{2}(10.60+46.90)=\boxed{115.000}$$
  2. Level 2: $H_2=2$, add the midpoint $x=3$. $$R(2,1)=\frac12\big[R(1,1)+H_1f(3)\big]=\frac12\big[115.000+4(21.85)\big]=101.200$$ $$R(2,2)=R(2,1)+\frac{R(2,1)-R(1,1)}{4^1-1}=101.200+\frac{101.200-115.000}{3}=96.600$$
  3. Level 3: $H_3=1$, add $x=2,4$. $$R(3,1)=\frac12\big[R(2,1)+H_2\big(f(2)+f(4)\big)\big]=\frac12\big[101.200+2(15.20+32.30)\big]=98.100$$ $$R(3,2)=98.100+\frac{98.100-101.200}{3}=97.067,\qquad R(3,3)=97.067+\frac{97.067-96.600}{4^2-1}=97.098$$
  4. Level 4: $H_4=0.5$, add $x=1.5,2.5,3.5,4.5$ (the remaining table rows). $$R(4,1)=\frac12\big[R(3,1)+H_3\big(f(1.5)+f(2.5)+f(3.5)+f(4.5)\big)\big]=\frac12\big[98.100+1(11.25+17.50+26.25+39.15)\big]=96.125$$ $$R(4,2)=95.467,\qquad R(4,3)=95.360,\qquad R(4,4)=95.360+\frac{95.360-97.098}{4^3-1}=\boxed{95.332}$$
Romberg array R(k,j)
kR(k,1)R(k,2)R(k,3)R(k,4)
1115.000
2101.20096.600
398.10097.06797.098
496.12595.46795.36095.332