009Mathematics · Approximation and bounds

Perimeter bounds and percentage error

Perimeter bounds and percentage error

Perimeter bounds and percentage error

  • 98 bytes
  • COMP mode
01

Worked examples

Example 1

The four sides of a quadrilateral flag are measured as 18 cm, 20 cm, 22 cm and 20 cm, each correct to the nearest 1 cm. (a) Find the range of the actual perimeter P of the flag. (b) Find the maximum absolute error and the percentage error of the perimeter calculated from the measurements.

Answer
(a) 78 cm ≤ P < 82 cm. (b) Maximum absolute error 2 cm; percentage error 2.5%.
Standard solution (without a calculator)
  1. Error of each side: each side is correct to the nearest 1 cm, so its maximum absolute error is 1 ÷ 2 = 0.5 cm.
  2. Measured perimeter: P₀ = 18 + 20 + 22 + 20 = 80 cm. The four errors can all be in the same direction, so E = 4 × 0.5 = 2 cm.
  3. Range: adding (18 − 0.5) + (20 − 0.5) + (22 − 0.5) + (20 − 0.5) ≤ P < (18 + 0.5) + (20 + 0.5) + (22 + 0.5) + (20 + 0.5) gives 78 ≤ P < 82 cm.
  4. Percentage error: 2 ÷ 80 × 100% = 2.5%.
Do it on the calculator

Example 2

The three sides of a triangular frame are measured as 15.2 cm, 19.3 cm and 25.5 cm, each correct to the nearest 0.1 cm. (a) Find the range of the actual perimeter P of the frame. (b) Find the maximum absolute error and the percentage error of the perimeter calculated from the measurements.

Answer
(a) 59.85 cm ≤ P < 60.15 cm. (b) Maximum absolute error 0.15 cm; percentage error 0.25%.
Standard solution (without a calculator)
  1. Error of each side: correct to the nearest 0.1 cm gives a maximum absolute error of 0.1 ÷ 2 = 0.05 cm per side.
  2. Measured perimeter: P₀ = 15.2 + 19.3 + 25.5 = 60.0 cm, and E = 3 × 0.05 = 0.15 cm.
  3. Range: 60 − 0.15 ≤ P < 60 + 0.15, that is 59.85 ≤ P < 60.15 cm.
  4. Percentage error: 0.15 ÷ 60 × 100% = 0.25%.
Do it on the calculator

Example 3

A pentagonal plot is enclosed by a fence whose five sides are measured as 25 m, 25 m, 30 m, 35 m and 45 m, each correct to the nearest 1 m. (a) Find the range of the actual length P of the fence. (b) Find the maximum absolute error of the measured total length, and its percentage error correct to 3 significant figures.

Answer
(a) 157.5 m ≤ P < 162.5 m. (b) Maximum absolute error 2.5 m; percentage error 1.5625% ≈ 1.56%.
Standard solution (without a calculator)
  1. Error of each side: correct to the nearest 1 m gives a maximum absolute error of 0.5 m per side.
  2. Measured total: P₀ = 25 + 25 + 30 + 35 + 45 = 160 m, and E = 5 × 0.5 = 2.5 m.
  3. Range: 160 − 2.5 ≤ P < 160 + 2.5, that is 157.5 ≤ P < 162.5 m.
  4. Percentage error: 2.5 ÷ 160 × 100% = 1.5625% ≈ 1.56% (3 significant figures).
Do it on the calculator
02

When to use it

Each side of a polygon is measured correct to the nearest unit u, so each recorded length can be out by up to u/2. Over n sides these errors add up to E = nu/2, so the actual perimeter P satisfies P₀ − E ≤ P < P₀ + E, and the percentage error is 100E/P₀.

Enter the known values

  • A: measured perimeter P₀, the sum of the recorded side lengths; B: number of separately measured sides n; X: measuring unit u, the accuracy of every side. Use the same length unit for A and X.
  • Type a number at every prompt and press EXE. A unit such as 0.1 can be typed as .1.

Read the results

  • Four screens appear in order: L (shown as A−Y), U (A+Y), E (Y) and finally the percentage error 100E/P₀, shown without a % sign. Press EXE after each of the first three.
  • A single final −1 means the input was rejected; it is not a bound or an error value.

Question types

  • Original practice for HKDSE Mathematics Compulsory Part, estimation and errors in measurement: the range of a perimeter, its maximum absolute error and its percentage error when every side is given correct to the same unit.

Before you start

  • Run in COMP from an empty program area (P1 in these examples) with at least 98 bytes free; P1–P4 share 680 bytes. A, B, X and Y are overwritten.
  • All n sides must be measured to the same unit u. If the sides have different accuracies, add their half-units yourself instead.
  • Conditions: n is a positive integer, u > 0 and nu/2 < P₀ ≤ 10⁸u. Any other input gives only −1.
  • Percentage error uses the measured perimeter P₀ as the denominator. The program does not round it; round as the question requires.
  • The bounds assume each side can reach its own extremes independently. The program does not check the triangle inequality or whether the extreme lengths can still form the polygon.
  • Use at most 10 significant figures. The program switches the display to Norm 2 and leaves it there; change back to Norm 1 afterwards if you need it.

Sign in to unlock the full programme

Checking access…

The programme code and appendix unlock together.

Checking access…

Sign in to unlock the full programme

Checking access…

The programme code and appendix unlock together.