I tried to enter a piecewise function into the limit function but it returns:

Error: Bad Argument Value

is it possible to work around this?

Michael C

Possibly . . . give an example, that would help.

Sure:

limit(PIECEWISE(x<1,1,x>1,0),x,1)

However I entered it in using the templates.

Thank you

Michael C

Doesn't work for me, either.

However, if you put in a default condition at the end, like

piecewise(x<1,1,x>1,0,9)

all limits get computed

from the left limit x ->1^-1 returns 1

from the right limit x ->1^1 returns 0

from both sides limit x -> 1^0 returns "unidirectional limits are distincts [sic]".