Rectangles are inscribed in a circle of radius r. The dimensions of the rectangle which has maximum area, is