answersLogoWhite

0


Best Answer

You can find a description of the algorithm in the Wikipedia article titled "Liu Hui's π algorithm".

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write a function in Python to calculate the perimeter of a regular polygon of N sides and use that to approximate Pi by increasing N until Pi?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why does the greatest area equal the greatest perimeter?

Because area is a function of perimeter.


Linear function increasing?

A linear function is increasing if it has a positive slope. To find this easily, put the function into the form y=mx+b. If m is positive, the function is increasing. If m is negative, it is decreasing.


The larger the perimeter of a square the larger the area of that square?

The area of a square is a function of the perimeter of the square.


What is the function of light detector circuit?

a: its function is to detect a change of light withing its perimeter


What are the intervals over which the function is increasing or decreasing?

It depends on the function.


Which function has a graph that is increasing only?

Absolute Value function


Is the perimeter of a square a linear or nonlinear function of the length of one of its sides?

linear, if side is x then perimeter is 4x


Is a constant function increasing or decreasing function or both or not?

Neither, by definition.


What is the function of m2la and m2ha?

increasing fan-out!


What shape has a perimeter of 17cm?

Any shape you want. "Perimeter" is not some esoteric function, it is merely the total measurement of the sides of the figure.


How is the function x plus sin x best described?

It is an increasing odd function.


What if the rate of change is a measure of how fast the function is increasing or decreasing what does the slope of a linear?

The slope of a linear function is also a measure of how fast the function is increasing or decreasing. The only difference is that the slope of a straight line remains the same throughout the domain of the line.