Assignment:
The metal used to make the top and bottom of a cylindrical can costs 4 cents/in^2, while the metal used for the sides costs 2 cents/in^2. The volume of the can is to be exactly 100 in^3. What should the dimensions of the can be to minimize the cost of making it?
Provide complete and step by step solution for the question and show calculations and use formulas.