I'd love to know how to integrate

$\displaystyle

\int cos(x)e^{-x^2} \,dx

$

and evaluate

$\displaystyle

\int_{-\infty}^{+\infty}cos(x)e^{-x^2} \,dx

$.

I hope the latex comes out OK.

Thanks for any ideas. I tried attacking the integral by doing it by parts, hoping for a bit of algebra in the style of sinx.e^x, but after two by parts, we end up with F = F if you know what I mean.

iota