You can pull the limit inside the integral. Note that$$\lim_{x \to \infty} \left ( 1+\frac1{2 x} \right )^{x} = e^{1/2} $$