Please refer to the attached figure.
If the circle has radius
, the semicircle has equation
, defined for
.
The coordinates of the points are:




This implies that

So, the area of the rectangle is the product of the width and the height. We want to find the maximum of

To do so, let's start by computing its derivative:

The derivative equals zero if the numerator equals zero:

So, we have
