Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium WrongResult

New issue 3265 by [email protected]: Limit computation fails
http://code.google.com/p/sympy/issues/detail?id=3265

The limit in Gruntz 7.6 fails:

In [11]: L = z / (sqrt(1+z)*sin(a)**2+sqrt(1 z)*cos(a)**2-1)

In [14]: gruntz(L, z, 0)
Out[14]: 0

Instead of the correct result 2 / (1-2*cos(a)**2) = -2*sec(2*a).
Recognising the zero works:

In [15]: sin(z)**2 + cos(z)**2 -1
Out[15]: sin(z)**2 + cos(z)**2 - 1

In [16]: simplify(_)
Out[16]: 0

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