Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2234 by [email protected]: Incorrect integration of exp(...) and E**(...) vs N(E)**(...)
http://code.google.com/p/sympy/issues/detail?id=2234

IDLE 2.6.5
from sympy import *
x=Symbol('x')
N(integrate(sin(pi*x)*exp(-I*2*pi*x),(x,-.5,.5)))
.0e-148 + .0e+2*I
N(integrate(sin(pi*x)*E**(-I*2*pi*x),(x,-.5,.5)))
.0e-148 + .0e+2*I
N(integrate(sin(pi*x)*N(E)**(-I*2*pi*x),(x,-.5,.5)))
.0e-109 - 0.424413181578388*I

The last answer is correct and agrees with other methods, including Mathematica (run Integrate[sin(pi*x)*exp[-i*2*pi*x],{x,-.5,.5}] through WolframAlpha.com).

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to