a builder wants to construct a cylindrical barrel with a capacity of 32pi ft^3. The cost per square foot of the material for the side of the barrel is half that of the cost per square foot for the top and bottom. Determine the dimensions of the barrel that can be constructed at a minimum cost in terms of material used.