Calculating: $\lim_{n\to \infty}\int_0^\sqrt{n} {(1-\frac{x^2}{n})^n}dx$ 
Possible Duplicate:
Prove: $\lim\limits_{n \to \infty} \int_{0}^{\sqrt n}(1-\frac{x^2}{n})^ndx=\int_{0}^{\infty} e^{-x^2}dx$ 

I need some help calculating the above limit. 
What i have observed so far is that:


*

*For all x the limit of the sequence inside the integral as n tends to infinity is $e^{-x^2}$

*I can use Dini's theorem to show that: $f_n(x) = {(1-\frac{x^2}{n})^n}$ uniformly converges to $e^{-x^2}$

*Consequently i can use the theorem regarding "the integral of the limit is the limit of integrals" for the function sequence $f_n(x)$ and it's limit function $f(x) = e^{-x^2}$


All this is well and good, but i would be ignoring the fact that the interval integrated upon is [0,$\sqrt{n}$], and so also affected by the limit.
What should i do to resolve this?
 A: We can apply dominated convergence theorem, since $e^{—x}\geq 1-x$ for each $x\geq 0$ and $e^{-x^2}$ is integrable on $(0,+\infty)$.  Define $g(x)=e^{-x}-(1-x)$. Then $g'(x)=-e^{-x}+1\geq 0$ for $x\geq 0$ hence $g(x)\geq g(0)=0$. Now, we have for $0\leq x\leq \sqrt n$,
$$0\leq \left(1-\frac{x^2}n\right)^n\leq \left(e^{-\frac{x^2}n}\right)^n=e^{-x^2}.$$
A: A related problem. Apply the substitution of variables $ y = x^2 $ to your integral gives
$$ \frac{1}{2}\,\int _{0}^{n}\! \left( {\frac {n-y}{n}} \right) ^{n}{\frac {1}{
\sqrt {y}}}{dy} $$
Apply another change of variables $ y=nz $ casts your integral to the beta function
$$ \frac{1}{2}\,\sqrt {n}\int _{0}^{1}\!{\frac { \left( 1-z \right) ^{n}}{\sqrt {
z}}}{dz}
 = \frac{1}{2}\,{\frac {\sqrt {n}\Gamma  \left( n+1 \right) \Gamma(\frac{1}{2})}{\Gamma 
 \left( n+3/2 \right) }}
$$
Taking the limit as $n\rightarrow \infty$ gives $ \frac{1}{2} \Gamma(\frac{1}{2}) = \frac{\pi}{2}\,.$
You can use Stirling's approximation 
    $n! \sim \sqrt{2 \pi n} \left(\frac{n}{e}\right)^n$  of the $n!=\Gamma(n+1)$ to evaluate the above limit.  
