1
The problem of planting trees on non-closed lines can be divided into the following three situations:
(1) If trees are planted at both ends of the non-closed line, then:
Plant number = number of segments+1 = total length-plant spacing+1
Total length = plant spacing × (number of plants-1)
Plant spacing = total length ÷ (number of plants-1)
2 If you want to plant trees at one end of the unclosed line and not at the other end, then:
Number of plants = number of segments = total length ÷ plant spacing
Total length = plant spacing × number of plants
Plant spacing = total length/number of plants
(3) If no trees are planted at both ends of the non-closed line, then:
Number of plants = number of nodes-1 = total length-1.
Total length = plant spacing × (number of plants+1)
Plant spacing = total length ÷ (number of plants+1)
2
The quantitative relationship of planting trees on the closed line is as follows
Number of plants = number of segments = total length ÷ plant spacing
Total length = plant spacing × number of plants
Plant spacing = total length/number of plants