From Pythagoras theorem and from the figure above:

a^{2}=1-x^{2}

∴a=√ 1 - x^{2}

From the small triangle underneath where ƶ is the hypotenuse:

ƶ^{2}=(1-a)^{2} +x^{2}

ƶ^{2}=1 -2a +a^{2} +x^{2}

Substituting a with x:

ƶ^{2}=1 -2√ 1 - x^{2} +1 -x^{2} +x^{2}

ƶ^{2}=2 -2√ 1 - x^{2}

ƶ=√ 2 -2√ 1 - x^{2}

a

∴a=√ 1 - x

From the small triangle underneath where ƶ is the hypotenuse:

ƶ

ƶ

Substituting a with x:

ƶ

ƶ

ƶ=√ 2 -2√ 1 - x

ƶ/_{2}=1/_{2}√ 2 -2√ 1 - x^{2}

The value of x which is half the hypotenuse of the right angle(center) triangle is √ 2 /2.

Then, where x which is half the side of the green square we substitute with ƶ/

Circumference (perimeter) of circle=2πr

Perimeter of polygon with infinite sides and radius 1 meter=2π

Number of sides of polygon ✕ length of one side with half diagonal(radius=1m)=2π

Number of sides of polygon ✕ length of half side of polygon with radius 1m=π:

From the above we multiply the figure in the first column below by that in the second column to find pi.

The number of sides of the polygon is 2 to the power of an integer because at every new additional calculation the number of sides double as it has been previously explained.

Enter an integer in the box below:

2

=

Actual π=3.141592653589793

Using Python

Formula of π

**π = n/2√ 2 -2√ 1 - (x/2)**^{2}

n: number of sides of a regular, inscribed polygon with radius 1

x: length of the side of the said polygon

n→∞, x→0

x: length of the side of the said polygon

n→∞, x→0

Another method

From the figure above when the width is 1 is shown by the blue line. When the width is 0.5 green line. Width 0.25 red line. When the width is reduced, you will input it, the line resembles the semicircle. The smallest the width the more accurate the circle and the calculation of pi will be. We start from the left -1. Then we add 0.1 therefore x=-0.9 we find y which is y^{2}=1-x^{2} (equation of circle with radius 1). We know x and y: x_{1}=-1, y_{1}=0, x_{2}=-0.9, y_{2}=√ 1 - (-0.9)^{2} =0.436. We know the coordinates of two points we find the distance between them by d^{2}=(x_{2}-x_{1})^{2}+(y_{2}-y_{1})^{2}. Similarly we find the distance between all points and add them up. This is the circumference of the semicircle above (radius=1)=pi.

You have the opportunity to input the width. The smaller the more accurate pi will be but it takes more time for the computer to calculate it. For very small values you will have to wait for some time that is why values less than 0.0000001 are not accepted. Values that divide 2 perfectly give a more accurate pi because the range is 2, from -1 to 1. You can play as many times as you like. There is no limit.

π=3.1415926535898

Go to the Home page.

Go to the Early Jewish Writings.