New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect limit of n**3*((-n - 1)*sin(1/n) + (n + 2)*sin(1/(n + 1)))/(-n + 1) #15055

Open
ethankward opened this Issue Aug 8, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@ethankward
Copy link
Contributor

ethankward commented Aug 8, 2018

>>> from sympy import *
>>> n = Symbol('n')
>>> e = n**3*((-n - 1)*sin(1/n) + (n + 2)*sin(1/(n + 1)))/(-n + 1)
>>> print(limit(e,n,oo))
-oo

The answer should be 1.

skirpichev added a commit to skirpichev/diofant that referenced this issue Aug 8, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment