At lunch a coworker was talking about how to calculate, say, the 100th digit of pi using a square around the circle, then a pentagon, etc, basically you end up taking the limit of the circumference as the number of sides n goes to infinity.
So I tried working out the math, but I got stuck at proving:
$$\lim_{n \to \infty} 2n\tan\frac{\pi}{n} = 2 \pi$$
Any ideas how?