integration fails with PolynomialDivisionFailed

45 views
Skip to first unread message

Adam Spontarelli

unread,
Jul 15, 2014, 10:09:04 AM7/15/14
to sy...@googlegroups.com
from sympy import *
x
, ep, D = symbols('x, \epsilon, D')
integrate
(1+5.55*ep**2*exp(-.13*(x/D)), x)

fails and gives the PolynomialDivisionFailed error message. Changing the -0.13 constant to -0.12 succeeds. Is there something about the equation that I'm not understanding or is this a bug in sympy? I'm running sympy version 0.7.5.

Thanks,
Adam

Mateusz Paprocki

unread,
Jul 15, 2014, 10:25:25 AM7/15/14
to sympy
Hi,
I looks like this was fixed since 0.7.5. Would you mind trying
development version of SymPy? See
http://docs.sympy.org/latest/install.html#git for installation
procedure.

Mateusz

> Thanks,
> Adam
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+un...@googlegroups.com.
> To post to this group, send email to sy...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/0aafc2f9-074c-48ca-8202-782a3cd74d96%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Adam Spontarelli

unread,
Jul 15, 2014, 10:42:34 AM7/15/14
to sy...@googlegroups.com
You're right, the git version works. I should have tried this from the start. Thanks for your help.
Reply all
Reply to author
Forward
0 new messages