If we let x as the length of the line on line and y on water, and C as the total c ost, then we have the equation:
C = 1000x + 1500y
The figure formed by the scenario is a right triangle, so we have:
y² = 1² + (2 - x)²
Solving for y,
y = √(1 + 4 - 4x + x²)
y = √(5 - 4x + x²)
Subsituting:
C = 1000x + 1500√(5 - 4x + x²)
The minimum length of the line can be solved by taking the derivative of the equation and equating it to 0. So,
1000 + 1500(0.5)(-4 +2x)/√(5 - 4x + x²) = 0
x = 1.33 miles
From the equation: y = √(5 - 4x + x²)
y = 1.20 miles