Hi! I need some help with this problem. I need the exact steps involved in getting the derivative of the function. As well as the full answer. I have been trying for a long time and can't get past the derivative. I just can't figure out how to transform it. And please explain how you determine if it is a minimum.
Problem: A new cottage is built across the river and 300 m downstream from the nearest telephone relay station. The river is 120 m wide. In order to wire the cottage for phone service, wire will be laid across the river under water, and along the edge of the river above ground. The cost to lay wire under water is $15 per m and the cost to lay wire above ground is $10 per m. How much wire should be laid under water to minimize the cost? Be sure to check that your answer is indeed a minimum.
Let C equal cost
x=length of wire
a= sqrt(x^2 + 120^2)
C(x) = 15x +10(300-a)
C(x)= 15x + 10(300-(sqrt(x^2 + 120^2)))
This is where I get lost. I don't know how to get the derivative. Can someone please go through each step. I'm just learning calculus and having a hard time with it. Thanks!