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?
Could you please show all work so I can better grasp the concept?