Just a followup:

Apparently sympy (0.7.1) is unable to find an expansion of the real part of 
the root that interests me: it yields a RuntimeError:

>>> sp.expand(sol, complex=True)

=> RuntimeError: maximum recursion depth exceeded while calling a Python object

Apparently wolframlapha is able to find a something interesting in terms of 
phase:


http://www.wolframalpha.com/input/?i=Re[-%28%281%2Bi+sqrt%283%29%29+d%29%2F%284+%28d^3-48+d^2+log%28n%29%2B4+sqrt%286%29+sqrt%2824+d^4+log^2%28n%29-d^5+log%28n%29%29%29^%281%2F3%29%29-%28%281-i+sqrt%283%29%29+%28d^3-48+d^2+log%28n%29%2B4+sqrt%286%29+sqrt%2824+d^4+log^2%28n%29-d^5+log%28n%29%29%29^%281%2F3%29%29%2F%284+d%29%2B1%2F2]

I wonder whether the fact that sympy is crashing with a recursion depth 
exceeded is a bug or this a consequence of a missing algorithm only found 
in mathematica.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sympy/-/te5rNQQkWHMJ.
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?hl=en.

Reply via email to