# Math Help - Cylinder optimization

1. ## Cylinder optimization

I need to find dimensions of a cylinder that uses the least cost. The volume of the cylinder is 265 cm³. I just can't figure this out without ending up with weird solutions.
The cost of top of the cylinder is 0.10 cents/cm²., bottom is 0.06 cents/cm², and sides cost 0.03 cents/cm².
What I've figured out so far is Cost = 0.10πr² + 0.06πr² + 0.03(2πrh).
Any help is appreciated.

2. ## Re: Cylinder optimization

$265 = \pi r^2 h$

solve for $h$ and sub into your cost function ...

3. ## Re: Cylinder optimization

I'll try that, thank you!