Comment #2 on issue 2131 by [email protected]: failing limit
http://code.google.com/p/sympy/issues/detail?id=2131
I got the following result.
In [5]: limit(diff(x**3*sin(1/x), x) / x, x, 0)
Out[5]: nan
In [6]: diff(x**3*sin(1/x))
Out[6]:
3 ⎛1⎞
x ⋅sin⎜─⎟
⎝x⎠
In [7]: diff(x**3*sin(1/x),x)
Out[7]:
⎛1⎞ 2 ⎛1⎞
- x⋅cos⎜─⎟ + 3⋅x ⋅sin⎜─⎟
⎝x⎠ ⎝x⎠
In [8]: _.limit(x,0)
Out[8]: 0
I guess there is a problem when expr is diff.
--
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.