Drag point P to show different rectangles within the semicircle. The areas and perimeters of these rectangle are plotted against the rectangle width in the 2nd-Graphics Window. Move point C to alter the size of the semicircle.
Created with GeoGebra