A rectangle is to be inscribed under the arch of the curve

A rectangle is to be inscribed under the arch of the curve y = 4 cos (0.5x) from x = -π to x = π . What are the dimensions of the rectangle with largest area, and what is the largest area?