Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Your solution is -1/2*I*sqrt(pi)*e^(-x^2)*erf(I*x) which Sage does produce correctly. But, Sage appears to be having trouble with erf(I*x). This should be a pure imaginary result, but Sage is not giving that.

Wolfram alpha plots your function nicely and also handles erf(I*x) well. (See [this link])(http://m.wolframalpha.com/input/?i=plot+-1%2F2Isqrt%28pi%29e%5E%28-x%5E2%29erf%28I*x%29+from+0+to+10&x=0&y=0)

Anyone have ideas on this?

Your solution is -1/2*I*sqrt(pi)*e^(-x^2)*erf(I*x) which Sage does produce correctly. But, Sage appears to be having trouble with erf(I*x). This should be a pure imaginary result, but Sage is not giving that.

Wolfram alpha plots your function nicely and also handles erf(I*x) well. (See [this link])(http://m.wolframalpha.com/input/?i=plot+-1%2F2Isqrt%28pi%29e%5E%28-x%5E2%29erf%28I*x%29+from+0+to+10&x=0&y=0)this link.)

Anyone have ideas on this?

click to hide/show revision 3
add specificity to region having difficulty

Your solution is -1/2*I*sqrt(pi)*e^(-x^2)*erf(I*x) which Sage does produce correctly. But, Sage appears to be having trouble with erf(I*x). This should be a pure imaginary result, but Sage is not giving that.that for $x>1.4$.

Wolfram alpha plots your function nicely and also handles erf(I*x) well. (See this link.)

Anyone have ideas on this?

Your solution is -1/2*I*sqrt(pi)*e^(-x^2)*erf(I*x) which Sage does produce correctly. But, Sage appears to be having trouble with erf(I*x). This should be a pure imaginary result, but Sage is not giving that for $x>1.4$.$x>1.42$.

Wolfram alpha plots your function nicely and also handles erf(I*x) well. (See this link.)

Anyone have ideas on this?