Calculating the area of circles, semicircles, and quarter-circles given either the radius or the diameter.