I have had multiple attempts at squeezing a normal distribution into a finite domain for like last five years. I find this important as sometimes random value should be limited to certain real boundaries while preserving the shape of normal distribution and it doesn't feel comfortable just to cut both tails of normal distribution and say that's fine.
While attempting to do so, I came up with this interesting (at least to me) formula:
$$\lim_{n \to \infty} \frac{\left[1 + \cos\left[x\sqrt{2}\frac{\Gamma\left[\frac{1}{2}+n\right]}{\Gamma\left[1+n\right]}\right]\right]^n}{2^{\frac{1}{2}+n}\sqrt{\pi}}=\frac{\exp{\left[-\frac{x^2}{2}\right]}}{\sqrt{2\pi}}$$
Which is the probability density function of a normal distribution $$N(0,1)$$
I had never encountered this specific representation of a normal distribution before. Clearly, Euler's formula defines a link between trigonometric functions and exponents:
$$e^{ix}=\cos(x)+i\sin(x).$$
This specific representation makes so much sense so I'm curious if this representation was long known before.