Starting from Euler's formula $e^{ix}=\cos x + i\sin x$ for any real number $x$, we get to Euler's identity with the special case of $x = \pi$ $e^{i\pi}+1=0$ $$\lim_{x \to 2} f(x) = 5.$$