Regular Polygon Formula
Equation for calculate regular polygon is,
Length of the side of the polygon = 2 * r * sin ( PI / n )
Area of the polygon = 0.5 * n * r2 * sin ( 2PI / n )
Area of the Circle = PI * r2
n = Number of sides of the polygon,
r = Circumradius of the polygon