
Arturo O. answered 08/10/17
Tutor
5.0
(66)
Experienced Physics Teacher for Physics Tutoring
Set up a coordinate system where one farm is at (-6,0) and the other at (6,0), which is 12 km apart, and the highway is along the line y = 20. The box will be along the perpendicular bisector of the line joining the 2 farms, at (0,y), with 0 ≤ y ≤ 20, and y to be determined. I assume you want to minimize the total length of the wire, which includes the perpendicular length of 20 - y from the highway to the junction box, plus the length of the hypotenuses from the junction box to the farms at (-6,0) and (6,0). The hypotenuses will have the same length. Then the total length as a function of y is
L(y) = (20 - y) + 2√(y2 + 62) = (20 - y) + 2√(y2 + 36)
Set dL/dy = 0 and solve for y.
dL/dy = -1 + 2y / √(y2 + 36) = 0
2y / √(y2 + 36) = 1
4y2 = y2 + 36
3y2 = 36
y2 = 36/3 = 12
y = √12 = 2√3 ≅ 3.464 km from the road connecting the farms, toward the highway.
Note that if you place the junction box at the highway, it will be at (0,20). Then there is no wire length from the highway to the junction box, and the total length is just the sum of the 2 hypotenuses.
L = 2√(202 + 62) ≅ 41.76
But if you place the junction box between the highway and farm road at (0,√12),
L = (20 - √12) + 2√[(√12)2 + 62] ≅ 30.39,
which is shorter.