a weighted graph is given and a spanning tree for the graph is highlighted. what is the weight of the…

a weighted graph is given and a spanning tree for the graph is highlighted. what is the weight of the spanning tree? ex: 5
Answer
Explanation:
Step1: Identify highlighted edges
The highlighted (red) edges are (a - b) with weight 3, (b - c) with weight 3, (c - f) with weight 7, (f - i) with weight 3, (i - h) with weight 4, (h - e) with weight 4, (e - b) with weight 0, (a - d) with weight 5, (d - g) with weight 5.
Step2: Sum up edge - weights
[3 + 3+7 + 3+4 + 4+0 + 5+5] [=(3 + 3)+7+(3 + 4)+4+0+(5 + 5)] [=6 + 7+7 + 4+0 + 10] [=(6 + 7)+7 + 4+10] [=13+7 + 4+10] [=(13 + 7)+4 + 10] [=20+4 + 10] [=24 + 10] [=34]
Answer:
34