Hello, I have a few students who are having trouble re-defining a function. For instance, if you were to input:
f
then later on, you want to re-use f as a function name:
f
If I go to plot f:
Plot[f[x],{x,-5,5}]
it correctly plots the "new" function (1/x), but if I try to evaluate a limit, such as:
Limit[f[x],x->0,Direction->-1]
it outputs 0, so it is obviously using the FIRST definition of the function (x^2). Why is it being selective about when to use the first definition of f and when to use the second definition? This happened to only 3 of my 15 students. Any ideas or suggestions?