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.