Rectangle in a Semicircle

Use the applet to answer the following question. A rectangle is to be inscribed in a semicircle of radius 2. What is the largest area the rectangle can have, and what are its dimensions?

Information: Rectangle in a Semicircle