
Doug C. answered 03/11/25
Math Tutor with Reputation to make difficult concepts understandable
Let h = the height of the rectangular box (x and 2x are the width and length of the base).
Then volume V =2x2h. But we know the volume is 10 m3, which allows us to determine an expression for h in terms of x: x = 10/2x2 = 5/x2.
Now we can develop the cost function. The area of the base is 2x2 m2 and each square meter costs $10. So an expression for the cost of the base is 20x2 (dollars).
The front and the back each have an area of 2xh square meters so a total of 4xh m2. Each square meter of the front and back is $6, so 24xh is an expression for the total cost of the front and back depending on the width of the base.
Similarly for the sides the area of one side is xh, so a total of 2xh. Multiplying by $6 gives 12xh dollars.
So the cost function can be modeled by C(x) = 20x2 + 36xh. Since we have an expression for h in terms of x we can substitute and end up with the cost function depending on x only.
C(x) = 20x2 + 36x(5/x2) {x > 0} (since x represents the length of the base of the box)
C(x) = 20x2 + 180x-1
Now determine when the 1st derivative is equal to zero. Substitute that value into the 2nd derivative to show that that value generates a minimum cost.
Do that work, then check your answer here:
desmos.com/calculator/dubyuchbf8