Updates:
Status: Fixed
Comment #2 on issue 1391 by asmeurer: integrate(cos(x)*f(x),(x,0,y)) gives
wrong result
http://code.google.com/p/sympy/issues/detail?id=1391
This works correctly now:
In [1]: integrate(cos(x)*f(x),(x,0,y))
Out[1]:
y
⌠
⎮ f(x)⋅cos(x) dx
⌡
0
In [2]: integrate(sin(x)*f(x),(x,0,y))
Out[2]:
y
⌠
⎮ f(x)⋅sin(x) dx
⌡
0
I bisected it to our old friend:
commit aeb80f87a16fad38ffc44b18aa52d739519e003b
Author: Chris Smith <smi...@gmail.com>
Date: Mon Sep 6 10:07:26 2010 +0545
2049: don't set evaluate to True when doing subs
If you want doit done then you have to do so after the subs
or write a custom routine to do so for you.
Unfortunately, this is kind of slow, so I think we can not test it.
However, this is the third or fourth issue of an integral of an undefined
function that has been found to be fixed by that commit, and the previous
ones have been tested by now (if I'm not mistaken). So I think we are safe
to just close this.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.