You are using metal rods to form a frame for a rectangular solid with square top and bottom. The rods that form the vertical edges cost $2/foot, and the rods that form the horizontal edges of the top and bottom cost only $1/foot.
Find the dimensions of the rect- angular solid of greatest volume that you can construct if the budget for the frame is $40. Be sure to verify that your answer has maximum volume.