max-acc / cPlus-calcultate-pi

Calculating the circle number Pi.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calculate Pi

There are lot of possibilities on how to calculate the circle number π:

Approximation

Approximation after Archimedes

Archimedes was one of the first who tried to calculate Pi with approximation. He tried it with regular polygons and increased the number of corners to calculate an upper and lower limit for what Pi can be.
He calculated until the corner number 96 and came to the conclusion that Pi has to be lower than 3+(10/70) and higher than 3+(10/71)

Approximation after John Wallis (wallis product)

⬆️Back to top

Continued Fraction

Continued Fraction after Lord Brouncker

Continued Fraction after Johann Heinrich Lambert

⬆️Back to top

About

Calculating the circle number Pi.


Languages

Language:C++ 100.0%