Question 1
OCR B (MEI) Further Maths June 2017 Decision mathematics 1 (4771-01)Older specification8 marks
On the specification
- (i)
- N5-N7 Modelling with Algorithms: Minimum connector and shortest path algorithms
- (ii)
- N5-N7 Modelling with Algorithms: Minimum connector and shortest path algorithms
Question text
1 Pippa is planning an irrigation system for a new garden. The graph shows the water tap, the plants and trees which need to be watered, and possible routes for the irrigation pipes. Delphiniums (D) Cabbages (C) Buddleia (B) Ericas (E) Fennel (F) Almond (A) Gooseberries (G) Inula (I) Hostas (H) Water tap (W) The lengths of possible pipe runs (m) are given in the table. W A B C D E F G H I W 10 40 20 A 10 17 B 17 7 C 7 12 18 D 12 8 E 8 14 11 F 14 5 15 G 5 6 H 40 6 18 I 20 18 11 15 18 (i) Starting at W, use Prim’s algorithm in tabular form to find the least length of pipe that is needed for the system. Give the length of pipe and draw the connections that are used in this solution. [5] In fact, Pippa decides to connect the Inula directly to the water tap and then to use all of the direct connections from the Inula. The Almond, Buddleia, Delphiniums and Gooseberries she will subsequently connect in optimally. (ii) Draw Pippa’s connections. Give the minimum length of pipe she will need for this solution, and give a reason why she might choose it. [3]