Calculus
posted by Ann on .
A holding pen for fish is to be made in the form of a rectangular solid with a square base and open top. The base will be slate that costs $4 per square foot and the sides will be glass that costs $5 per square foot. If the volume of the tank must be 50 cubic feet, what dimensions will minimize the cost of construction?
The answer is 5 X 5 X 2, but I don't understand how to get that.
Assuming that length = x, width = x. height = h, these are the two equations I came up with:
(x^2)h = 50
SA = x^2 + 4xh
Am I doing this right?

You are doing fine so far.
For these kind of max/min questions, look for "something" which will be either maximized or minimized. What ever that "something" is , you will need an equation that says
"something" = ......
In this case I see, " .... what dimensions will minimize the cost of construction? "
So in this case it is the COST
cost = 4(x^2) + 5(4xh)
= 4x^2 + 20xh
but we know:
x^2 h = 50
so h = 50/x^2
cost = 4x^2 + 20x(50/x^2)
= 4x^2 + 1000/x
now differentiate with respect to x
d(cost)/dx= 8x  1000/x^2
= 0 for a min of cost
8x = 1000/x^2
8x^3 = 1000
take cube root of both sides
2x = 10
x = 5
then h = 50/5^2 = 2
and there you have it!
base is 5 by 5 , and the height is 2 
Thanks so much Reiny!
I never thought of adding the cost to the equation, but now I know.