Issue 413: series bug: 1/((a + 1/x)**3 - a**3)*(a + (a + 1/x)**2 - (1 +
a)*(a + 1/x))
http://code.google.com/p/sympy/issues/detail?id=413
Comment #10 by ondrej.certik:
All is fixed now:
In [6]: e=1/((a + 1/x)**3 - a**3)*(a + (a + 1/x)**2 - (1 + a)*(a + 1/x))
In [7]: e.expand().normal().series(x, 4)
Out[7]:
2 2 3 2 3 2 4 3 4 3 5 4 6
x - x - 2⋅a⋅x + 3⋅a⋅x + 3⋅a ⋅x - 6⋅a ⋅x - 3⋅a ⋅x + 9⋅a ⋅x - 9⋅a ⋅x
+ 9
5 6 6 7 7 8 6 8 8 9
⋅a ⋅x - 531468⋅a ⋅x - 11691648⋅a ⋅x + 531468⋅a ⋅x - 132328890⋅a ⋅x +
1116
7 9 9 10 8 10 10 11
0180⋅a ⋅x - 1016646552⋅a ⋅x + 121168710⋅a ⋅x - 5917595535⋅a ⋅x +
89547
9 11 11 12 10 12 12
13
7842⋅a ⋅x - 27659909970⋅a ⋅x + 5022117693⋅a ⋅x - 107564720553⋅a ⋅x
11 13 13 14 12 14
+ 22637792277⋅a ⋅x - 356248818603⋅a ⋅x + 84926928276⋅a ⋅x -
102126113
14 15 13 15
3016⋅a ⋅x + 271321890327⋅a ⋅x + O(x**16)
In [8]: e.series(x, 4)
Out[8]:
2 2 3 2 3
x - x - 2⋅a⋅x + 3⋅a⋅x + 3⋅a ⋅x + O(x**4)
These series occur in limits and all limits are now working in sympy. :)
Well, except
two, but the ones triggering this issue are working.
Issue attribute updates:
Status: Fixed
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---