Status: Accepted
Owner: Vinzent.Steinberg
Labels: Type-Defect Priority-Medium Integration
New issue 2448 by Vinzent.Steinberg: integrate hangs
http://code.google.com/p/sympy/issues/detail?id=2448
Iz
(z, -L/2, L/2)
integrate(r0**2*cos(z)**2, Iz)
-r0**2*(-L/4 - sin(L/2)*cos(L/2)/2) + r0**2*(L/4 + sin(L/2)*cos(L/2)/2)
integrate(r0**2*cos(R0*z)**2, Iz)
-r0**2*(-L*R0/4 - sin(L*R0/2)*cos(L*R0/2)/2)/R0 + r0**2*(L*R0/4 +
sin(L*R0/2)*cos(L*R0/2)/2)/R0
integrate(r0**2*cos(w*z)**2, Iz) # hangs
[...]
KeyboardInterrupt
w
2*pi*z/L
So sympy fails to calculate the integral, even if it succeeds in the
general case. Maybe integrate should preprocess and substitute unneeded
symbols?
--
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.