- status: open --> closed
- assigned_to: Dan Gildea
- Group: --> None
Maxima is unable to compute the limit of (exp(a*x)-1)/(exp(a*x)+1) as x -> inf. Maxima asks if a is positive or negative or zero. If you answer positive or negative, it returns the noun form. Perversely if you answer zero, the limit is -1. But if a is zero, the expression is exactly 0.
If a number is substituted for a, then maxima correctly returns 1 or -1 depending on the sign of a.
Fixed by [100120a026260fea89a8007667e70f6cccb072d2]
src/limit.lisp: o ratlim: give up rather than returning '$infinity when sign in unknown. Not sure how to add a test case for this, since it involves interaction with the user.
Log in to post a comment.