Updates:
        Labels: WrongResult

Comment #4 on issue 1213 by asmeurer: limit(1+2*((H-h)/h+(H-h)**2/h**2 *  
log(1-h/H)), h, 0) fails
http://code.google.com/p/sympy/issues/detail?id=1213

This doesn't traceback anymore, but it gives a wrong result:

In [2]: limit(1+2*((H-h)/h+(H-h)**2/h**2 * log(1-h/H)), h, 0)
Out[2]: -∞ + ∞⋅H

The correct result should be 2 (see  
http://www.wolframalpha.com/input/?i=limit+of+1%2B2*%28%28H-
h%29%2Fh%2B%28H-h%29**2%2Fh**2+*+log%281-h%2FH%29%29+as+h+goes+to+0).

This changed after the same commit as in issue 431.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--

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


Reply via email to