Right-angle pentagon area bounds
Right-angle pentagon area bounds
Right-angle pentagon area bounds · L,U
- 151 bytes
- COMP mode
Worked examples
Example 1
A cardboard cut-out FGJKN for a display is a pentagon with right angles at F, G and J, as shown. FG = 8 cm, FN = 4 cm, GJ = 12 cm and JK = 3 cm, each measured correct to the nearest 1 cm. Let S cm² be the actual area of the cut-out. Find the range of values of S.

Answer
Standard solution (without a calculator)
- Limits of the lengths: each length is correct to the nearest 1 cm, so the maximum error is 0.5 cm: 7.5 ≤ FG < 8.5, 3.5 ≤ FN < 4.5, 11.5 ≤ GJ < 12.5 and 2.5 ≤ JK < 3.5.
- Area formula: draw NE ⊥ GJ. Rectangle FGEN has area FG × FN, and trapezium NEJK has parallel sides NE = FG and JK and height EJ = GJ − FN, so S = FG × FN + (FG + JK)(GJ − FN)/2.
- Choose the limits: throughout the intervals FG > JK and GJ > FN, so S increases when any one length increases. Use all four lower limits for the least area and all four upper limits for the greatest area.
- Lower bound: 7.5 × 3.5 + (7.5 + 2.5)(11.5 − 3.5)/2 = 26.25 + 40 = 66.25. All four lower limits can occur, so this area can be reached.
- Upper bound: 8.5 × 4.5 + (8.5 + 3.5)(12.5 − 4.5)/2 = 38.25 + 48 = 86.25. It needs every length at its excluded upper limit, so it cannot be reached.
- Conclusion: 66.25 ≤ S < 86.25.
Example 2
A pentagonal stage platform FGJKN has right angles at F, G and J, as shown. FG = 2.4 m, FN = 1.2 m, GJ = 3.8 m and JK = 0.7 m, each measured correct to the nearest 0.1 m. Let S m² be the actual area of the platform. Find the range of values of S.

Answer
Standard solution (without a calculator)
- Limits of the lengths: the maximum error is 0.05 m: 2.35 ≤ FG < 2.45, 1.15 ≤ FN < 1.25, 3.75 ≤ GJ < 3.85 and 0.65 ≤ JK < 0.75.
- Area formula: with NE ⊥ GJ, S = FG × FN + (FG + JK)(GJ − FN)/2. Since FG > JK and GJ > FN throughout, S increases with every length.
- Lower bound: 2.35 × 1.15 + (2.35 + 0.65)(3.75 − 1.15)/2 = 2.7025 + 3.9 = 6.6025.
- Upper bound: 2.45 × 1.25 + (2.45 + 0.75)(3.85 − 1.25)/2 = 3.0625 + 4.16 = 7.2225.
- Avoid a common slip: the height EJ = GJ − FN is shortest when FN is at its upper limit, but that does not give the least area. For example, 2.35 × 1.25 + (2.35 + 0.65)(3.75 − 1.25)/2 = 6.6875, which is larger than 6.6025, because a longer FN enlarges the rectangle more than it shrinks the trapezium.
- Conclusion: 6.6025 ≤ S < 7.2225. Keep all the decimal places; rounding the bounds would change the range.
Example 3
A pentagonal floor tile FGJKN has right angles at F, G and J, as shown. FG = 9 cm, FN = 5 cm, GJ = 13 cm and JK = 4 cm, each measured correct to the nearest 1 cm. Let S cm² be the actual area of the tile. Find the range of values of S.

Answer
Standard solution (without a calculator)
- Limits of the lengths: the maximum error is 0.5 cm: 8.5 ≤ FG < 9.5, 4.5 ≤ FN < 5.5, 12.5 ≤ GJ < 13.5 and 3.5 ≤ JK < 4.5.
- Area formula: with NE ⊥ GJ, S = FG × FN + (FG + JK)(GJ − FN)/2. Since FG > JK and GJ > FN throughout, S increases with every length.
- Lower bound: 8.5 × 4.5 + (8.5 + 3.5)(12.5 − 4.5)/2 = 38.25 + 48 = 86.25, which can be reached.
- Upper bound: 9.5 × 5.5 + (9.5 + 4.5)(13.5 − 5.5)/2 = 52.25 + 56 = 108.25, which cannot be reached.
- Check: the area from the measured values is 9 × 5 + (9 + 4)(13 − 5)/2 = 45 + 52 = 97, which lies inside the range.
- Conclusion: 86.25 ≤ S < 108.25.
When to use it
Use this for a pentagon FGJKN with right angles at F, G and J, where FG, FN, GJ and JK are each measured correct to the nearest u. The perpendicular NE from N to GJ splits the shape into rectangle FGEN and right-angled trapezium NEJK, so S = ab + (a + d)(c − b)/2 with a = FG, b = FN, c = GJ and d = JK. The area increases with every one of the four lengths, so all lower limits give the least area and all upper limits give the greatest area.
Enter the known values
- X: the rounding unit u (1 for “nearest 1 cm”, 0.1 for “nearest 0.1 m”). A: FG, the left side; B: FN, the top side; C: GJ, the base; D: JK, the short right side.
- Enter the five values in this order and in one length unit. Type a number at every prompt: a blank EXE reuses whatever the variable held before.
Read the results
- The first screen shows the lower bound L; press EXE to see the upper bound U. Write the answer as L ≤ S < U in square units.
- A single −1 means the input failed a check listed below; it is not an area.
Question types
- Original practice at HKDSE Mathematics Compulsory Part level (approximation and errors): the range of the area of a composite figure, a rectangle plus a trapezium, from lengths measured correct to the nearest unit.
Before you start
- Use COMP. The demonstration stores the program in P1, but any empty program area with 151 bytes free works (P1–P4 share 680 bytes). The setup steps clear P1, so back up an existing program there or use another area and change the area number.
- Only the pictured shape: right angles at F, G and J, top side FN shorter than base GJ, and left side FG taller than JK. It is not a general pentagon area calculator.
- Valid input: u > 0, every length > u ÷ 2, GJ − FN ≥ u, FG − JK ≥ u and FG + FN + GJ + JK ≤ 10⁸u. Any failed check displays −1.
- GJ − FN ≥ u and FG − JK ≥ u keep the shape valid over the whole measurement interval and guarantee that the area increases with each length.
- The lower bound is reached when all four lengths are at their lower limits, but the upper bound is not reached, so the answer is L ≤ S < U.
- Use ordinary inputs of up to 10 significant figures. The program sets the display to Norm 2 and overwrites X, A, B, C, D, Y and M.
- After reading U, press AC to leave; pressing EXE again restarts the program.
Checking access…