Comment #67 on issue 1695 by smi...@gmail.com: integral of a piecewise
function gives bad result
http://code.google.com/p/sympy/issues/detail?id=1695
At https://github.com/smichr/sympy/tree/1695 there is a start to this that
gives:
h[2] >>> integrate(Piecewise((3,x<2),(exp(x),x<5),(x,True)),(x, 0, x))
Piecewise((3*x, x < 2), (6 - exp(2) + exp(x), x < 5), (-13/2 + x**2/2 -
exp(2) +
exp(5), True))
h[3] >>> integrate(Piecewise((3,x<2),(exp(x),x<5),(x,True)),(x, x, 0))
Piecewise((-3*x, x < 2), (6 + exp(2) - exp(x), x < 5), (13/2 - exp(2) -
x**2/2 +
exp(5), True))
--
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.