A rectangle is to be inscribed in a semicircle of radius 10 cm such that one side of the rectangle lies along the diameter. (i) Find the dimensions of the rectangle that give the greatest possible area. (ii) Prove that this area is the maximum attainable within the semicircle.