You can
put this solution on YOUR website!
If we have a rectangle with coordinates (x,0), (-x,0), (x,4 cos(x/2)) and (-x, 4cos(-x/2)), we can say that the dimensions are 2x and 4 cos (x/2) (note that cosine is even and symmetric). Hence, our area A is equal to

.
To find

, use the product rule:
Then, set this to zero with x defined between

and

.