I have an exercise which seem to be a method of calculating the Gaussian integral :
Let $\displaystyle f(x)=\int_0^1 \frac{\exp(-x^2(t^2+1))}{t^2+1}\ \mathrm{d}t$
Study the deriviability of $f$, then conclude that $\displaystyle \int_0^{\infty} e^{-x^2}\ \mathrm{d}x=\frac{\sqrt{\pi}}{2}$.
I'm stuck in the second question : by Leibinz rule $f$ is differentiable over $\mathbb{R}$, but I couldn't calculate $f'(x)$ in terms of $x$ only or figure out the relation between the two questions.