Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

limit within a python function

Hi there, total beginner in Sage, and this drives me mad:

def mylimit(f,x,a):
    return f.limit(x=a)

var('y')
mylimit(1/y,y,2).show()

which always returns: 1/y...

How shall I specify that x should be a var?

Thanks in advance.