NivaarExam PrepOfficial exam papers ↗

04-BS-5 · December 2014

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 — December 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) — power-series solutions of ODEs about an ordinary point (Ch. 5), Fourier series and the Fourier transform (Ch. 11), Newton divided-difference interpolation, numerical differentiation, Romberg integration, Newton’s method and fixed-point iteration (Ch. 19), Doolittle/Crout LU factorization and forward/back substitution (Ch. 7).

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. Tabulated $y=f(x)$ at $x=1,1.5,2,\dots,5$ (step $0.5$), integration limits $a=1$, $b=5$.

Tabulated data for the Romberg estimate
x11.522.533.544.55
y2303454365275007738649551,070
11.522.533.544.5502304606909201.15e+03tabulated y(x)xy
Tabulated y(x) used for the Romberg estimate of ∫₁⁵y dx (linear segments shown between the 9 sample points)

Find. The Romberg triangle $R(k,j)$, $k=1,\dots,4$, and the best available estimate of $\int_1^5 y\,dx$.

Approach. Build the trapezoidal column $R(k,1)$ by successively halving the panel width $H_k=4/2^{k-1}$ (using every other tabulated point at each level, since the table already supplies $h=0.5=H_4$), then apply Richardson extrapolation across the columns via $R(k,j)=R(k,j-1)+\dfrac{R(k,j-1)-R(k-1,j-1)}{4^{j-1}-1}$.

  1. Level 1 ($H_1=4$): single trapezoid using the endpoints only. $$R(1,1)=\dfrac{4}{2}\big[f(1)+f(5)\big]=2(230+1070)=\boxed{2600}$$
  2. Level 2 ($H_2=2$): add the midpoint $x=3$. $$R(2,1)=\dfrac12\big[R(1,1)+H_1f(3)\big]=\dfrac12\big[2600+4(500)\big]=\boxed{2300}$$
  3. Level 3 ($H_3=1$): add $x=2,4$. $$R(3,1)=\dfrac12\big[R(2,1)+H_2\big(f(2)+f(4)\big)\big]=\dfrac12\big[2300+2(436+864)\big]=\boxed{2450}$$
  4. Level 4 ($H_4=0.5$): add $x=1.5,2.5,3.5,4.5$ — this uses every tabulated point. $$R(4,1)=\dfrac12\big[R(3,1)+H_3\big(f(1.5)+f(2.5)+f(3.5)+f(4.5)\big)\big]=\dfrac12\big[2450+1(345+527+773+955)\big]=\boxed{2525}$$
  5. Richardson-extrapolate across each column. Using $R(k,j)=R(k,j-1)+\dfrac{R(k,j-1)-R(k-1,j-1)}{4^{j-1}-1}$: $$R(2,2)=2300+\tfrac{2300-2600}{3}=2200,\qquad R(3,2)=2450+\tfrac{2450-2300}{3}=2500,\qquad R(4,2)=2525+\tfrac{2525-2450}{3}=2550$$ $$R(3,3)=2500+\tfrac{2500-2200}{15}=2520,\qquad R(4,3)=2550+\tfrac{2550-2500}{15}=2553.333$$ $$R(4,4)=2553.333+\tfrac{2553.333-2520}{63}=\boxed{2553.86}$$
Full Romberg triangle
kR(k,1)R(k,2)R(k,3)R(k,4)
12600———
223002200——
3245025002520—
4252525502553.332553.86