A rectangle field of area $2400 m^2$ is to be fenced off along a straight road. The front fencing costs $P80$ per meter, that of the sides and back costs $P40$ per meter. Determine the minimum total cost required.
I couldn't think of a proper equation for this problem. Appreciate the help!
HINT:
We have $$\text{Length of Side}=\frac{\text{Area}}{\text{Length of Front Fence}}$$ and $$\begin{align}\text{Cost}&=80\times\text{Length of Front Fence}+40\times 2\times\text{Length of Side}+80\times\text{Length of Back Fence}\\&=120\times\text{Length of Front Fence}+80\times\frac{\text{Area}}{\text{Length of Front Fence}}\end{align}$$
Can you now find an expression for cost in mathematical notation and differentiate it with respect to the length of the front fence?