Question 4

Edexcel Further Maths November 2021 9FM0-3D A Level Decision Mathematics 1 - question paperA level8 marks

On the specification

(a)
3D 2.2 Dijkstra's and Floyd's algorithms3D 2.1 Minimum spanning tree (minimum connector)
(b)
3D 2.2 Dijkstra's and Floyd's algorithms
(c)
3D 3.1 Route inspection (Chinese postman)3D 2.2 Dijkstra's and Floyd's algorithms
(d)
3D 3.1 Route inspection (Chinese postman)
Question text

4. A 57 B 150 72 230 63 125 F C 132 191 160 289 E 84 D Figure 3 [The total weight of the network is 1648] Direct roads between six cities, A, B, C, D, E and F, are represented in Figure 3. The weight on each arc is the time, in minutes, required to travel along the corresponding road. Floyd’s algorithm is to be used to find the complete network of shortest times between the six cities. An initial route matrix is given in the answer book. (a) Set up the initial time matrix. (1) (b) Perform the first iteration of Floyd’s algorithm. You should show the time and route matrices after this iteration. (2) The final time matrix after completion of Floyd’s algorithm is shown below. A B C D E F A – 57 95 147 63 220 B 57 – 72 204 120 197 C 95 72 – 242 158 125 D 147 204 242 – 84 275 E 63 120 158 84 – 191 F 220 197 125 275 191 – A route is needed that minimises the total time taken to traverse each road at least once. The route must start at B and finish at E. (c) Use an appropriate algorithm to find the roads that will need to be traversed twice. You should make your method and working clear. (4) (d) Write down the length of the route. (1) (Total for Question 4 is 8 marks)