I am trying to prove that $$ \lim_{r\to 0}\int_{\pi}^{2\pi} \frac{1 - \exp\left(2\mathrm{i}r\mathrm{e}^{\mathrm{i}t}\right)}{4r^{2}\mathrm{e}^{\mathrm{i}t}}\,\mathrm{i}\,\mathrm{d}t = \frac{\pi}{2} $$
Since I don't know how to solve the integral explicitly, I don't know what to do. This problem is really similar to this one, maybe that answer is useful for this problem too.
Thank you.
If you are integrating $\int_C f(z)\,\mathrm{d}z$ for $f(z)=(1-e^{2iz})/z^2$ with the parametrization $\require{color}C\colon z=re^{it}$, you forgot an $r$ in $\mathrm{d}z={\color{red}r}ie^{it}\,\mathrm{d}t$.
For $0<2r<1$ and $t\in\mathbb{R}$, we have $\lvert 2ire^{it}\rvert=2r<1$ and hence $$ \frac{1-e^{2ire^{it}}}{4r^2e^{it}}=\frac{1-(1+2ire^{it}+o(r))}{4r^2e^{it}}=\frac{-2ire^{it}+o(r)}{4r^2e^{it}}=-\frac{i}{2r}+o(r^{-1}) $$ Now integrate, $$ \int_{\pi}^{2\pi}\frac{1-e^{2ire^{it}}}{4r^2e^{it}}{\color{red}r}i\,\mathrm{d}t= \int_{\pi}^{2\pi}\left[-\frac{i}{2r}+o(r^{-1})\right]{\color{red}r}i\,\mathrm{d}t=\frac\pi2+\underbrace{o(1)}_{\to 0}. $$