Comment #66 on issue 1695 by samuel.amo: integral of a piecewise function gives bad result
http://code.google.com/p/sympy/issues/detail?id=1695

There seems to be a remaining problem :
when I do :
   integrate(Piecewise((3,x<2),(exp(x),x<5),(x,True)),(x,0,x))
it returns :
   -13/2 + x**2/2 - exp(2) + exp(5)
but I would expect something like
Piecewise((3*x,x<2),(6+exp(x)-exp(2),x<5),(6+exp(5)-exp(2)+1/2*x**2-12.5,True))
Is there somebody working on it yet ?
If not I can see what I can do by my own. If yes I can also help :)

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-iss...@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.

Reply via email to