A man wishes to construct a cylindrical barrel with a capacity of 1087r ft3. 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. Help him find the dimensions of the barrel that can be constructed at a minimum cost in terms of material used.
radius ft
height ft