Can someone please tell me how to go about this question? It's got me confused.
Using the Taylor polynomial $P_{3}(x)$ of $e^x$, find a Taylor polynomial $P_{8}(x)$ for $x^{2}e^{-x^{2}}$. Use that to estimate the following integral: $$\int_{0}^{1}x^{2}e^{-x^{2}}dx.$$

Well first off you'd start off with the definition of a taylor polynomial, and we'll pick ours at a=0.
$$f(x)=f(a)+f'(a)(x-a)+f''(a)\frac{(x-a)^2}{2!}+f'''(a)\frac{(x-a)^3}{3!}...$$
Now let's figure out the things we need to plug in.
$$\left(e^{x}\right)^{n}=e^{x}$$
where n is the nth derivative.
and
$$e^{0}=1$$
Plug it in what we found and you will get:
$$f(x)=1+x+\frac{x^2}{2}...$$
Now since we want $P_3$ we'll take up to and and including the term of degree 3.
Now to find a composition (i.e. $e^{-x^2})$ all you need to do is plug in -$-x^2$ into the polynomial we found above.
To compute the integral, plug in the polynomial we found with $(-x^2)$ plugged in, multiply by $x^2$ and integrate!
........................