In this lesson, we observe how increasing the number of sides reduces the approximation error. As $N \to \infty$, the error approaches zero.
The Absolute Error measures how far our polygon perimeter is from the actual circumference of the circle:
$$E = | \pi - \frac{N \cdot s_n}{2} |$$As you increase $n$, you will notice the error drops significantly. However, once the error reaches approximately $10^{-16}$, it will stop decreasing. This is because the computer has reached the limit of its Floating Point Precision.
Math.PI.