I understand.
It seems gruntz works like Maxima's tlimit
>>> gruntz(1+(1+1/x)**x,x,oo)
1 + E
>>> gruntz((1+1/x)**x-E,x,oo)
0
>>> gruntz(((1+1/x)**x-E)*x,x,oo)
-E/2
>>> gruntz1+1/x)**x-E)*x+E/2)*x,x,oo)
11*E/24
That's fine.
--
You received this message because you are subscribed to the Goo
I am the original poster. I am not an expert of Python, just a
mathematician.
I understand that SymPy uses heuristics for limits, which are most likely
"known cases". But if I were to program such heuristics, only cases with
infinity would have to look for a heuristic. This includes 1^oo, whic
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
on win32
Type "copyright", "credits" or "license()" for more information.
>>> from sympy import *
>>> x=Symbol('x')
>>> limit((1+1/x)**x,x,oo)
E
>>> limit(1+(1+1/x)**x,x,oo)
2
>>>
--
You received this message because you