NivaarExam PrepOfficial exam papers ↗

04-BS-5 · December 2017

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 2017 — 04-BS-5 Advanced Mathematics, 3 hours, closed book (approved Casio/Sharp calculator and one double-sided aid sheet permitted). Any five of the seven questions constitute a complete paper and all questions are of equal value; all seven are answered below as a full study resource.

Reference texts: Kreyszig, Advanced Engineering Mathematics, 10th ed. (Wiley) — Ch. 11 (Sturm–Liouville Problems, Fourier Series, Fourier Integrals and Transforms), Ch. 19 (Numerics in General: interpolation, numerical differentiation, Romberg integration, iterative equation solving), Ch. 20 (Numeric Linear Algebra: LU/Crout factorization). Supporting: Chapra & Canale, Numerical Methods for Engineers, 7th ed. — Ch. 5–6 (bracketing and open root-finding methods), Ch. 18 (interpolation), Ch. 22 (Romberg integration); Strang, Introduction to Linear Algebra, 6th ed. — Ch. 2 (LU 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. $y=f(x)$ tabulated at nine equally spaced points, $x=1$ to $x=5$ in steps of $h=0.5$.

Given data for Romberg integration
$x$$1$$1.5$$2$$2.5$$3$$3.5$$4$$4.5$$5$
$y$$215$$345$$444$$537$$600$$763$$856$$955$$1085$

Find. A best Romberg estimate of $\displaystyle\int_1^5f(x)\,dx$, presented as the full triangular array $R(k,j)$, $1\le j\le k\le4$.

Approach. Compute composite-trapezoid estimates $R(k,1)$ at successively halved step sizes $H=4,2,1,0.5$ (using $2^{k-1}+1$ of the nine tabulated points each time), then Richardson-extrapolate across the table using the supplied $R(k,j)$ recurrence.

  1. Row 1 — coarsest trapezoid, $H_1=4$ (endpoints only, $x=1,5$). $$R(1,1)=\dfrac{4}{2}\big[f(1)+f(5)\big]=2\big[215+1085\big]=\boxed{2600.0}$$
  2. Row 2 — $H_2=2$ (add $x=3$). $$R(2,1)=\dfrac{2}{2}\big[f(1)+2f(3)+f(5)\big]=1\big[215+1200+1085\big]=\boxed{2500.0}$$ Extrapolating with $j=2$ ($4^1-1=3$ in the denominator): $$R(2,2)=R(2,1)+\dfrac{R(2,1)-R(1,1)}{3}=2500+\dfrac{-100}{3}=\boxed{2466.667}$$
  3. Row 3 — $H_3=1$ (add $x=2,4$). $$R(3,1)=\dfrac{1}{2}\big[215+2(444+600+856)+1085\big]=\dfrac{1}{2}\big[215+3800+1085\big]=\boxed{2550.0}$$ $$R(3,2)=2550+\dfrac{2550-2500}{3}=\boxed{2566.667},\qquad R(3,3)=2566.667+\dfrac{2566.667-2466.667}{15}=\boxed{2573.333}$$
  4. Row 4 — $H_4=0.5$ (all nine points). $$R(4,1)=\dfrac{0.5}{2}\big[215+2(345+444+537+600+763+856+955)+1085\big]=\dfrac{0.25}{1}\big[215+9000+1085\big]=\boxed{2575.0}$$ $$R(4,2)=2575+\dfrac{2575-2550}{3}=2583.333,\quad R(4,3)=2583.333+\dfrac{2583.333-2566.667}{15}=2584.444$$ $$R(4,4)=2584.444+\dfrac{2584.444-2573.333}{63}=\boxed{2584.621}$$
123452004006008001000Tabulated curve for Romberg integrationxy = f(x)
Figure: the tabulated curve $y=f(x)$ over $[1,5]$ used to build each row of the Romberg table.
$k\backslash j$1234
12600.000
22500.0002466.667
32550.0002566.6672573.333
42575.0002583.3332584.4442584.621