FYI, this was fixed here: https://github.com/skirpichev/omg
In [1]: limit((x + exp(x))/(x - 1), x, -oo)
Out[1]: 1
In [2]: limit((ln(x) - 1)**(1 - sqrt(x)), x, E)
Out[2]: ∞
On Saturday, April 11, 2015 at 3:22:32 PM UTC+3, Arnaud Usciati wrote:
>
> Hello,
>
> I found 2 issues with limit().
>
> x = symbols("x", real=True)
>
> f = Lambda(x, (x+exp(x))/(x-1))
> Input : limit(f(x), x, -oo, '+')
> Output : 0 --> Wrong
> Input : limit(expand(f(x)), x, -oo, '+')
> Output : 1 --> Correct
>
> g = Lambda(x, (ln(x)-1)**(1-sqrt(x)))
> Input : limit(g(x), x, E, '+')
> Ouput : 0 --> Wrong
> The correct value is +oo !
>
> Python 3.4.2 (v3.4.2:ab2c023a9432, Oct 6 2014, 22:15:05) [MSC v.1600 32
> bit (Intel)] on win32
>
> Arnaud.
>
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/a0604b21-f873-4b2d-a605-ddfd713ea207%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.