A rectangular beam will be cut from a cylindrical log of radius 10 inches.

(a) show that the beam of maximal cross-sectional area is a square.

(b) four rectangular planks will be cut from the four sections of the log that remain after cutting the square beam. determine the dimensions of the planks that will have maximal cross-sectional area.