A given quantity of metal is to be cast into a solid half circular cylinder with a rectangular base and semi-circular ends. Show that in order that total surface area is minimum, the ratio of length of cylinder to the diameter of semi-circular ends is π ∶ π + 2.