NivaarExam PrepOfficial exam papers ↗

04-BS-5 · May 2013

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 Exams — May 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 of equal value (20 marks each); 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 (Ch. 5), Fourier series and the Fourier transform (Ch. 11), least-squares curve fitting, Lagrange interpolation, Romberg integration and root-finding (Ch. 19); Strang, Introduction to Linear Algebra (6th ed., Wellesley-Cambridge) — the Cayley–Hamilton theorem and matrix inversion.

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
$x$-1.00-0.75-0.50-0.2500.250.500.751.00
$y$3.5012.5014.0017.5016.0013.5012.0012.5018.50

Given. 9 tabulated $(x,y)$ pairs spanning $[-1,1]$ in steps of $h=0.25$ (table above).

Find. A Romberg estimate of $\displaystyle\int_{-1}^{1}y\,dx$.

Approach. Build the trapezoidal row $R(k,1)$ at $h=2,1,0.5,0.25$ (using the nested subsets of 2, 3, 5, 9 tabulated points), then Richardson-extrapolate the triangular array using $R(k,j)=R(k,j-1)+\dfrac{R(k,j-1)-R(k-1,j-1)}{4^{j-1}-1}$.

  1. Trapezoidal row $R(k,1)$ for $h=2,1,0.5,0.25$. $$R(1,1)=\tfrac{2}{2}\big[f(-1)+f(1)\big]=1(3.50+18.50)=\boxed{22.00}$$ $$R(2,1)=\tfrac{1}{2}\big[f(-1)+2f(0)+f(1)\big]=0.5(3.50+32.00+18.50)=\boxed{27.00}$$ $$R(3,1)=\tfrac{0.5}{2}\Big[f(-1)+f(1)+2\!\!\sum_{-0.5,0,0.5}\!\!f\Big]=0.25\big(22.00+2(42.00)\big)=\boxed{26.50}$$ $$R(4,1)=\tfrac{0.25}{2}\Big[f(-1)+f(1)+2\!\!\!\sum_{\text{7 interior pts}}\!\!\!f\Big]=0.125\big(22.00+2(98.00)\big)=\boxed{27.25}$$
  2. First Richardson column, $j=2$ (divide by $4^1-1=3$). $$R(2,2)=27.00+\tfrac{27.00-22.00}{3}=\boxed{28.667},\qquad R(3,2)=26.50+\tfrac{26.50-27.00}{3}=\boxed{26.333}$$ $$R(4,2)=27.25+\tfrac{27.25-26.50}{3}=\boxed{27.500}$$
  3. Second column, $j=3$ (divide by $4^2-1=15$), and third column, $j=4$ (divide by $4^3-1=63$). $$R(3,3)=26.333+\tfrac{26.333-28.667}{15}=\boxed{26.178},\qquad R(4,3)=27.500+\tfrac{27.500-26.333}{15}=\boxed{27.578}$$ $$R(4,4)=27.578+\tfrac{27.578-26.178}{63}=\boxed{27.600}$$
$k$$R(k,1)$$R(k,2)$$R(k,3)$$R(k,4)$
122.000
227.00028.667
326.50026.33326.178
427.25027.50027.57827.600