Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer) · Last updated 14 November 2026
Notes on this paper
Reference texts: Kreyszig, Advanced Engineering Mathematics , 10th ed. —
Ch.5 (Power Series Solutions of ODEs), Ch.11 (Fourier Series and Integrals), Ch.19–20 (Interpolation,
Numerical Integration, Root-Finding, LU/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 — Question 5
$x$ 0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
$F(x)$ 10.00 63.75 70.00 86.25 80.00 68.75 60.00 61.25 90.00
Given. Nine tabulated points of an unknown curve $F(x)$ over $x\in[0,4]$ at uniform spacing
$h=0.5$ (eight intervals $=2^{3}$, exactly enough for a 4-level Romberg triangle).
Find. A four-level Romberg estimate $R(4,4)$ of $\int_0^4 F(x)\,dx$.
Approach. Compute composite-trapezoidal estimates at $h=4,2,1,0.5$ (reusing previously
tabulated points at each coarser level), place them in column $R(k,1)$, then apply Richardson extrapolation
$R(k,j)=R(k,j-1)+\dfrac{R(k,j-1)-R(k-1,j-1)}{4^{\,j-1}-1}$ across the triangle.
Level 1, $h=4$ (2 points: $x=0,4$).
$$R(1,1)=\frac{h}{2}\left[F(0)+F(4)\right]=\frac{4}{2}(10+90)=\boxed{200.00000}$$
Level 2, $h=2$ (3 points: $x=0,2,4$).
$$R(2,1)=\frac{2}{2}\left[10+2(80)+90\right]=260.00000;\qquad
R(2,2)=R(2,1)+\frac{R(2,1)-R(1,1)}{3}=\boxed{280.00000}$$
Level 3, $h=1$ (5 points: $x=0,1,2,3,4$).
$$R(3,1)=\frac{1}{2}\left[10+2(70+80+60)+90\right]=260.00000$$
$$R(3,2)=R(3,1)+\frac{R(3,1)-R(2,1)}{3}=260.00000;\qquad
R(3,3)=R(3,2)+\frac{R(3,2)-R(2,2)}{15}=\boxed{258.66667}$$
Level 4, $h=0.5$ (all 9 points).
$$R(4,1)=\frac{0.5}{2}\left[10+2(63.75+70+86.25+80+68.75+60+61.25)+90\right]=270.00000$$
$$R(4,2)=273.33333,\qquad R(4,3)=274.22222,\qquad R(4,4)=R(4,3)+\frac{R(4,3)-R(3,3)}{63}=\boxed{274.46914}$$
Each successive column narrows the estimate (200 → 280 → 258.67 → 274.47), converging as the
extrapolation cancels higher-order error terms.
-0.16 0.56 1.28 2 2.72 3.44 4.16 3.6 22.16 40.72 59.28 77.84 96.4 F(x) (tabulated) Q5 - tabulated data used in Romberg integration x F(x) Fig. Q5: the nine tabulated $(x,F(x))$ points used to build the Romberg triangle.
Final results — Question 5 (Romberg triangle)
$k$ $R(k,1)$ $R(k,2)$ $R(k,3)$ $R(k,4)$
1 200.00000
2 260.00000 280.00000
3 260.00000 260.00000 258.66667
4 270.00000 273.33333 274.22222 274.46914
Topic: Romberg integration (Richardson extrapolation of the composite trapezoidal rule).
Key relations: composite trapezoidal $T_h=\frac{h}{2}\big[f(a)+2\sum f(\text{interior})+
f(b)\big]$; extrapolation $R(k,j)=R(k,j-1)+\dfrac{R(k,j-1)-R(k-1,j-1)}{4^{\,j-1}-1}$.
Why this works: the trapezoidal rule's error is an even power series in $h$ (Euler–
Maclaurin), so each Richardson extrapolation cancels the current leading error term, and column $j$ is accurate
to $O(h^{2j+2})$ — four levels typically buys several extra digits versus the raw trapezoidal estimate,
visible here as the values settle from 200 down through 280 and 258.67 to 274.47.
Common pitfall: recomputing every function value from scratch at each level instead of
reusing the coarser grid's points (wasteful, and easy to introduce a rounding mismatch); or using $4^{j}-1$
instead of the correct $4^{\,j-1}-1$ in the extrapolation denominator for column $j$.
Source: Kreyszig, Advanced Engineering Mathematics , 10th ed., Ch.19.3 (Numerical
Integration and Differentiation).