Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1300 by mattpap: series() gives less terms than expected
http://code.google.com/p/sympy/issues/detail?id=1300

Given the following session:

In [1]: P = (sin(x)**2).series(x, 0, 10)

In [2]: P
Out[2]:
       4      6     8      10
  2   x    2⋅x     x    2⋅x
x  - ── + ──── - ─── + ───── + O(x**11)
      3     45    315   14175

In [3]: Q = (cos(x)**2).series(x, 0, 10)

In [4]: Q
Out[4]:
           4      6     8
      2   x    2⋅x     x
1 - x  + ── - ──── + ─── + O(x**10)
          3     45    315

I expect to get the x**10 term in both expansions.

Is the current behavior intentional or maybe this is a bug? I've tried
several algebra systems (Mathematica, Maxima, Axiom) and all return the
x**10 term in this setup.

--
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to