Hi Swdrury,

On Sun, Jan 31, 2016 at 5:04 AM,  <[email protected]> wrote:
> This is literally my first program using sympy, based on an example from my
> calculus class:
>
> from sympy import *
>
> def main():
>     x=symbols("x")
>     f=exp(x**3)*cos(x**6)
>     print(series(f,x,0,14))
>     print(series(f,x,0,19))
>
> if __name__ == "__main__":
>     main()
>
> The output:
>
> 1 + x**3 + x**6/2 + x**9/6 + x**12/24 + O(x**14)
> 1 + x**3 + x**6/2 + x**9/6 - 11*x**12/24 - 59*x**15/120 - 179*x**18/720 +
> O(x**19)
>
> As you can see at least one of the answers is wrong.

Thanks for reporting it. I created an issue for it here:

https://github.com/sympy/sympy/issues/10503

The series is pretty well tested, so I am surprised that there is a
bug like this. This needs to be fixed.

> Should I bother using sympy a second time?

We'll update the issue once this is fixed. If you find any other
issues, please let us know.

Thanks,
Ondrej

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CADDwiVA-6q%2Bm%2BSvgkOx0Z6%2BAUk6vCAmkj_0zh9SHOgh1qt%3D8cg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to