In a series expansion of the definite integral $$\int^{1}_{0}e^{-x^2}dx,$$
how many terms of this series are necessary to approximate this integral to within $0.01$.
What I tried:
\begin{align} \int^{1}_{0}e^{-x^2}dx &=\int^{1}_{0}\sum^{\infty}_{n=0}\frac{(-1)^nx^{2n}}{n!}dx \\ &=\sum^{\infty}_{n=0}\frac{(-1)^n}{n!}\int^{1}_{0}x^{2n}dx \\ &=\sum^{\infty}_{n=0}\frac{(-1)^n}{(2n+1)n!} \end{align}
Could someone help me? How many terms are used to approximate this integral within $0.01$?
Thanks.