Ask Your Question

SergioM's profile - activity

2021-02-03 15:29:42 +0200 received badge  Popular Question (source)
2015-09-11 19:20:33 +0200 received badge  Editor (source)
2015-09-11 19:19:33 +0200 asked a question Possible error in Sage

Dear all, while trying to calculate the integral of:

integrate (xe^(2x-(x^2)/2), x)

I got this:

1/2Isqrt(2)(-2Isqrt(pi)(x - 2)(erf(sqrt(1/2)sqrt((x - 2)^2)) - 1)/sqrt((x - 2)^2) + Isqrt(2)e^(-1/2(x - 2)^2))e^2

Which is actually wrong.

The answer is simply e^x²

Cheers

Sergio