
For any given circle, $\pi$ is the ratio of the circumference of the circle to its diameter.
This definition may be written algebraically as:$\pi = \dfrac{C}{d}$
In the diagram below, an early method for the calculation of $\pi$ is demonstrated.
A circle of radius 1 unit - (and, hence, a diameter of 2 units) - is shown.Within this circle, and with its vertices being points on the circl,e lies an equilateral triangle, with a similar one without, whose sides are tangental to the circle.
It should be evident that the perimeter of the smaller, inscribed triangle is shorter than the circumference of the circle.
Similarly, the perimeter of the larger, circumscribed triangle is longer than that of the circle.
By dividing these perimeters by the diameter, $d$ , a value slightly smaller than $\pi$, and one slightly greater are obtained. These values are shown in the inequality.
By moving the slider above, the number of sides of the polygon may be altered. Since a circle is a polygon with an infinite number of sides, the higher the number of sides used for the inscribed and circumscribed polygons, the closer the calculated value for the ratio of the perimeter to the diameter will be to $\pi$ .
As the number of sides is increased, it can be seen that the outlines of the polygons become ever closer to a circle.This method was used extensively by Ludolph van Ceulen (1540 - 1610), calculated $\pi$ to 35 decimal places, the upper and lower bounds of which he had engraved on his headstone.
In order to acheive this, he used a polygon with 32,000,000,000 sides. If you observe the bounds as the number of sides increases, what starts off as a quite rapid change, becomes increasingly slow.