Circumference of objects
Here is the section of the perimeter functions. Find the circumference of an object.

The first of those, is rather easy: Perimeter of circle:
perimeterCircle(x ) - Calculate the perimeter of an circle
Where
x= diameter
Using the following formula:
Example:
Perimeter of a circle of 15 cm diameter:
perimeterCircle(15)=47.12388981
The next one, is the perimeter of an ellipse. Unfortunately, there is no easy formula to calculate this. There is some formulas that do it approximately. The only exact way is to use a infinite series calculation.
The famous Indian mathematician Srinivasa Ramanujan developed a close approximation. FormulaCalculator uses its native ellipse-perimeter implementation for this function.
perimeterEllipse(x; y ) - Calculate the perimeter of an ellipse
Where
x= height of ellipsey= width of ellipse
The function is implemented natively. The following formula block documents the approximation stored with the current function reference:
Example:
An ellipse, 15 cm high, and 20 cm wide. What is the perimeter.
perimeterEllipse(15;20)=55.258729
The next perimeter function, is calculation of the perimeter of an regular polygon:
perimeterRegPolygon(x; y ) - Calculate the perimeter of an regular polygon
Where
x= number of sidesy= distance from center to one of its corners
Using the following formula:
Example:
Calculate the perimeter of a hexagon, where the circumcircle is 10 cm.
perimeterRegPolygon(6;10)=60 cm
The last function in this series, is the perimeter of a rectangle.
perimeterRectangle(x; y ) - Calculate the perimeter of an rectangle
Where
x= widthy= height
Using the following formula:
Example:
perimeterRectangle(10;20)=60
This completes the geometric functions. See also the conversion functions.
