Hi all:

There seems to be a bug in how the limit() function handles variables
in its second argument.  Here are two examples.

Alex

-----------------------------------------------------------------------------------------
| SAGE Version 3.0.6, Release Date: 2008-07-30                      |
| Type notebook() for the GUI, and license() for information.      |
-----------------------------------------------------------------------------------------

sage: var('x')
x
sage: y=[x]
sage: limit(sin(y[0])/y[0],x=0)
1
sage: limit(sin(y[0])/y[0],y[0]=0)
------------------------------------------------------------
   File "<ipython console>", line 1
SyntaxError: keyword can't be an expression (<ipython console>, line
1)

sage: w=x
sage: limit(sin(w)/w,x=0)
1
sage: limit(sin(w)/w,w=0)
sin(x)/x


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to