oil rig 5 miles from shore and refinery 8 miles down the shore. cost of laying pipe underwater is $100k and $75k for land how much of each pipe should be used to minimize the cost of project.
Spencer -The cost of pipe underwater is:100sqrt[(8-x)^2+5^2]The cost over land is 75xJust add these together, take first derivative and set equal to zero, solve for x that minimizesHope that helps