Circle area uses the radius, squared

The area of a circle is π r². A radius of 3 gives 9π, about 28.3. Putting the diameter into that formula, or forgetting to square the radius, reports the wrong region.

Check: a square of side 6 around the same circle has area 36, and 9π is a bit under that, which is what you would expect.

Statement and a worked example: MathGPT.