# Calculus question - minimize cost from volume

1. Sep 17, 2006

### Pearce_09

hello,
im only having one problem with this question..and that is finding my second formula.
I have an aquarium with givin volume, where the base is made of slate and the sides are made of glass..and the cost of slate is 5 times the cost of glass (per unit area) find the dimension of the aquarium to minimize cost.
ok so equation one is
V = lwh l - lenght w - width h - height
and my second is somthing like.....
5(2lh + 2wh) = lw
the first part is the sides of the aquarium and the second part is the base.. now this is comparing the costs of the areas of the sides and the area of the base.. but i dont think it is right because how can i say that the cost of the base is the same of the cost of all 4 sides. seaing how there is more area around the sides then the base....
thanks

2. Sep 17, 2006

### HallsofIvy

NO. The total cost of the aquarium will be the cost of the 4 sides:
2lh+ 2wh
and the cost of the base: 5wh.

But you multiplied the all by 5. How does that take into account that the base costs 5 times a much as the sides?

You can't! The sides have area 2 lh+ 2lh and the base has area hw. If the base costs 5 times as much as the sides, the total cost (in units equal to cost of each side) is 2lh+ 2lh+ 5lw.