Interesting and unexpected applications of $\pi$ $\text{What are some interesting cases of $\pi$ appearing in situations that do not seem geometric?}$
Ever since I saw the identity $$\displaystyle \sum_{n = 1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}$$
and the generalization of $\zeta (2k)$, my perception of $\pi$ has changed. I used to think of it as rather obscure and purely geometric (applying to circles and such), but it seems that is not the case since it pops up in things like this which have no known geometric connection as far as I know. What are some other cases of $\pi$ popping up in unexpected places, and is there an underlying geometric explanation for its appearance?
In other words, what are some examples of $\pi$ popping up in places we wouldn't expect?

Too long for a comment:

What are some interesting cases of $\pi$  appearing in situations that are not geometric ?

None! :-) You did well to add “do not seem” in the title! ;-)

All $\zeta(2k)$ are bounded sums of squares, are they not ? And the equation of the circle, $x^2+y^2=$ $=r^2$, also represents a bounded sum of squares, does it not ? :-) Likewise, if you were to read a proof of why $\displaystyle\int_{-\infty}^\infty e^{-x^2}dx=\sqrt\pi$ , you would see that it also employs the equation of the circle! $\big($Notice the square of x in the exponent ?$\big)$ :-) Similarly for $\displaystyle\int_{-1}^1\sqrt{1-x^2}=\int_0^\infty\frac{dx}{1+x^2}=\frac\pi2$ , both of which can quite easily be traced back to the Pythagorean theorem. The same goes for the Wallis product, whose mathematical connection to the Basel problem is well known, the former being a corollary of the more general infinite product for the sine function, established by the great Leonhard Euler. $\big($Generally, all products of the form $\prod(1\pm a_k)$ are linked to sums of the form $\sum a_k\big)$. It is also no mystery that the discrete difference of odd powers of consecutive numbers, as well as its equivalent, the derivative of an odd power, is basically an even power, i.e., a square, so it should come as no surprise if the sign alternating sums $(+/-)$ of the Dirichlet beta function also happen to depend on $\pi$ for odd values of the argument. :-) Euler's formula and his identity are no exception either, since the link between the two constants, e and $\pi$, is also well established, inasmuch as the former is the basis of the natural logarithm, whose derivative describes the hyperbola $y=\dfrac1x$, which can easily be rewritten as $x^2-y^2=r^2$, following a rotation of the graphic of $45^\circ$. As for Viete's formula, its geometrical and trigonometrical origins are directly related to the half angle formula known since before the time of Archimedes. Etc. $\big($And the list could go on, and on, and on $\!\ldots\!\big)$ Where men see magic, math sees design. ;-) Hope all this helps shed some light on the subject.
