Since material costs are per unit area, we need to find the areas of the various parts of the can and multiply them by the cost per area:
Cost (C) = (area of top and bottom)·(10 cents) + (area of sides)·(8 cents)
C = (πr2 + πr2)(10) + (2πrh)(8)
C = 20π r2 + 16πhr
C is now in terms of two variables, r and h. We want to eliminate the h so that C is in terms of one variable (r) only. We use the given constraint on the volume of the can:
Volume = area of bottom x height
20π = πr2h
20π/πr2 = h
20/r2 = h
Now substitute 20/r2 in place of h in the cost equation:
C = 20π r2 + 16πr(20/r2) = 20π r2 + 320π/r
C is now expressed in terms of a single variable, r. This allows us to find the minimum cost by taking the first derivative of C wrt r, setting it to zero, then solving for r. Once you have the value of r, plug it into the cost equation to get the minimum cost.