Updates:
        Status: Fixed

Comment #9 on issue 1690 by [email protected]: integrate(A*x**2*exp(-B*x**2), (x, 0, oo)) gives wrong solution
http://code.google.com/p/sympy/issues/detail?id=1690

And this now gives

pprint(_)
⎧      ___
⎪    ╲╱ π ⋅z                                       π
⎪    ───────       for │periodic_argument(y, ∞)│ < ─
⎪        3/2                                       2
⎪     4⋅y
⎪
⎨∞
⎪⌠
⎪⎮         2
⎪⎮  2    -x ⋅y
⎪⎮ x ⋅z⋅ℯ      dx              otherwise
⎪⌡
⎩0


also

integrate(z*x**2*exp(-y*x**2), (x, 0, oo))
Piecewise((sqrt(pi)*z/(4*y**(3/2)), Abs(periodic_argument(y, oo)) < pi/2), (Integral(x**2*z*exp(-x**2*y), (x, 0, oo)), True))
pprint(_)
⎧      ___
⎪    ╲╱ π ⋅z                                       π
⎪    ───────       for │periodic_argument(y, ∞)│ < ─
⎪        3/2                                       2
⎪     4⋅y
⎪
⎨∞
⎪⌠
⎪⎮         2
⎪⎮  2    -x ⋅y
⎪⎮ x ⋅z⋅ℯ      dx              otherwise
⎪⌡
⎩0
integrate(z*x**2*exp(-y*x**2), (x, 0, oo)).subs(z,A).subs(y,B) == integrate(A*x**2*exp(-B*x**2), (x, 0, oo))
True




--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

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


Reply via email to