Skip to content

← Grade 11 Mathematics

Exam practice

Every question from the end of every unit, with hints and answers to open. After you check an answer, mark how you did, and come back to the ones you didn’t get.

3 questions

Unit 21 · Numerical Integration

Short questions

1.

Evaluate ∫12dxx \int_1^2 \dfrac{dx}{x} with n = 4 by a. the trapezoidal rule [2], b. Simpson’s rule [2], and c. compare each with the exact value [1]. Give answers to four decimal places.

Hint

h = 0.25; the ordinates are at 1, 1.25, 1.5, 1.75, 2. The exact value is [ln⁡x]12 \Big[ \ln x \Big]_1^2 .

Answer
x 1 1.25 1.5 1.75 2
y=1x y = \frac{1}{x} 1 0.8 0.6667 0.5714 0.5

a. Trapezoidal rule:
0.252[(1+0.5)+2(0.8+0.6667+0.5714)]=0.125×5.5762=0.6970 \tfrac{0.25}{2}\left[ (1 + 0.5) + 2(0.8 + 0.6667 + 0.5714) \right] = 0.125 \times 5.5762 = \mathbf{0.6970}
b. Simpson’s rule, 0.693254 to six places:
0.253[1.5+4(0.8+0.5714)+2(0.6667)]=8.319012=0.69325≈0.6933 \tfrac{0.25}{3}\left[ 1.5 + 4(0.8 + 0.5714) + 2(0.6667) \right] = \tfrac{8.3190}{12} = 0.69325 \approx \mathbf{0.6933}
c. Exactly, ln⁡2=0.693147 \ln 2 = 0.693147 . Trapezoidal error 0.693147 − 0.6970 = −0.0039 (too big: 1x \frac{1}{x} bends upward); Simpson’s error 0.693147 − 0.693254 = −0.0001, about 36 times smaller.

2.

The sunlight on a flat roof in Bhaktapur on an average April day, averaged by PVGIS at the middle of each hour from 6:15 am to 6:15 pm Grade 11: Unit 19, is 66, 254, 465, 654, 788, 856, 837, 758, 637, 489, 325, 156 and 16 W/m². Find by Simpson’s rule the energy that falls on each square meter between those times, in kWh. (5 marks)

Hint

Thirteen ordinates one hour apart: n = 12, h = 1 hour. Watts × hours = watt-hours.

Answer

y0+y12=66+16=82 y_0 + y_{12} = 66 + 16 = 82 .
Odd: 254 + 654 + 856 + 758 + 489 + 156 = 3167. Even inside: 465 + 788 + 837 + 637 + 325 = 3052.
E≈13[82+4(3167)+2(3052)]=188543=6285 E \approx \frac{1}{3}\left[ 82 + 4(3167) + 2(3052) \right] = \frac{18854}{3} = 6285 Wh ≈6.3 \approx \mathbf{6.3} kWh on each square meter.
There is no formula for real sunlight, so no exact answer; Unit 19’s hour-wide rectangles gave about 6300 Wh, within 1% of this (they also take in the half hours before 6:15 am and after 6:15 pm, when there is little light).

3.

A plot of land lies between a straight boundary 60 m long and a stream. The distances (offsets) from the boundary to the stream, every 10 m along it, are 12, 15, 18, 17, 20, 16 and 14 m. Find the plot’s area by Simpson’s rule, in square meters and in ropani (1 ropani = 5476 square feet = 508.74 m² = 16 aana). (5 marks)

Hint

Seven offsets: n = 6, h = 10 m.

Answer

y₀ + y₆ = 26; odd 15 + 17 + 16 = 48; even 18 + 20 = 38.
Area ≈103[26+4(48)+2(38)]=103×294=980 \approx \frac{10}{3}\left[ 26 + 4(48) + 2(38) \right] = \frac{10}{3} \times 294 = \mathbf{980} m².
980508.74=1.926 \frac{980}{508.74} = 1.926 ropani, and 0.926 × 16 = 14.8 aana: about 1 ropani 15 aana. (The trapezoidal rule gives 990 m².)