formula of area of circle code example
Example 1: calculate area of circle
import math
r = 50
a = r**2*math.pi
print(a)
Example 2: area of circle
R = (3.14*r*r);
Example 3: area of circle
Area of circle = Pi * r^2 (r stands for radius and ^2 means squared)
Example 4: area of a circle
def circle(radius):
return radius * math.pi * 2
Example 5: area of circle
The area of a circle is pi times the radius squared (A = π r²). Learn how to use this formula to find the area of a circle when given the diameter.
Example 6: calculate area of circle
3.14 * radius * radius = area