Again, this is not what I get in the current master branch: In [1]: (sin(x)/x**10).series(x,0,10) Out[1]:
3 5 1 1 1 1 1 x x x ── - ──── + ────── - ─────── + ──────── - ──────── + ────────── - ──────────── 9 7 5 3 362880⋅x 39916800 6227020800 130767436800 x 6⋅x 120⋅x 5040⋅x 7 9 x x ⎛ 10⎞ ─ + ─────────────── - ────────────────── + O⎝x ⎠ 0 355687428096000 121645100408832000 It works as expected. Can you check which version of sympy you are actually using? Is it the master branch or a released version? On 14 March 2012 16:32, Rhythm Gupta <rhythm.gupt...@gmail.com> wrote: > I think Yes. > > > On Wed, Mar 14, 2012 at 8:57 PM, Gaurav Sathe <gaurav.sath...@gmail.com> > wrote: >> >> Thnx... I was thinking of the same logic which u have said... but then how >> do we explain the below series expansion: >> >> >>> (sin(x)/x**10).series(x,0,10) >> 1 1 1 1 1 >> ──────── + ── - ──── + ────── - ─────── + O(1) >> 362880⋅x 9 7 5 3 >> x 6⋅x 120⋅x 5040⋅x >> >> >> Do we say that it is like dividing each term of the sin(x) series by x**10 >> ? >> >> -Gaurav >> >> >> >> On Wed, Mar 14, 2012 at 7:44 PM, Sai Nikhil <tsnleg...@gmail.com> wrote: >>> >>> parameter 'n' was written to imply last exponent of 'x' in the expansion, >>> I guess >>> >>> but, in second case, exp(x**2) = exp(v), where v = x**2 and so, exp(v) is >>> calculated till, v**9 and substituting, v=x**2, we are getting the above >>> result. >>> >>> this is obviously supposed to be an issue, and if Mr.Aaron permits, I'll >>> try to submit a suitable patch for this ... >>> >>> >>> -thanks , >>> Sai Nikhil.T >>> >>> >>> 1 >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "sympy" group. >>> To post to this group, send email to sympy@googlegroups.com. >>> To unsubscribe from this group, send email to >>> sympy+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/sympy?hl=en. >> >> >> >> >> -- >> Gaurav Sathe >> -Student at BITS Pilani - Goa Campus >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To post to this group, send email to sympy@googlegroups.com. >> To unsubscribe from this group, send email to >> sympy+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/sympy?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to sympy@googlegroups.com. > To unsubscribe from this group, send email to > sympy+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.