On Aug 21, 7:44 am, Andelf <[EMAIL PROTECTED]> wrote: > I am a starter, so I don't understand why this goes wrong > > I typed: > > x = var('x') > f = log(2+sqrt(arctan(x)*sin(1/x))) > lim(f, x=0) > > and got: > Traceback (click to the left for traceback) > ... > Is sin(1/x)*atan(x) positive or zero? > > actually I should get a log(2). > > who can help me explain it?
Should limit assume you mean the limit only along the real line? The behavior along the imaginary axis is different, so it seems like this should complain until you are more specific. I'm curious, did this limit come up somewhere in practice? JM --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---