Let be the diameter, the center of the circle, the rectangle, with .
Let . Then the area is .
We have .
If the area is maximum, then the squared area is also maximum.
Let and
The maximum value of f is , where .
So, , for .
Then