Rectangle is inscribed inside a semi-circle of radius r. The sides of rectangle with maximum area are