Updates:
        Status: Accepted
        Labels: Series

Comment #1 on issue 2071 by asmeurer: Wrong limit result with expressions containing sin/cos
http://code.google.com/p/sympy/issues/detail?id=2071

Interesting. The limit(x**(2/3)*sin(x**2)/(x-1), x, oo) one works in my integration3 branch (issue 2010), because of my hack commit that removed algebraic substitution from exp (I know this because I bisected it down to that commit). Also, it doesn't seem to matter if I use 2/3 or S(2)/3, but I would recommend using the latter. If you can give sympy an exact rational number, it is much preferred to a floating point one. See http://docs.sympy.org/gotchas.html#python-numbers-vs-sympy-numbers.

Also, the only difference I get for any of them when setting x to be real over just leaving it as complex is that limit(x**(2/3)*sin(x**2)/(x-1), x, oo) gives nan in master when x is real and a traceback when it complex.

The sin(x) one fails in both master and my branch (regardless of whether x is real or not), so it must be related to something different. I don't know if the limit algorithm is designed to give nan when there isn't a limit. It would be a nicer than a traceback, though.

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