The problem is that the "f(x)" calls f with the symbolic argument "x"
_at the time you call the plot function_.
In the first case, r.dnorm doesn't know what to do with a symbolic x,
and barfs before it returns. OTOH, in the second function, the f(x)
call simply returns x^3, so it's equivalent to typing plot(x^3, (x, 0,
2).
Both cases should work if you use
plot(f, (x,90,110))
plot(f, (x,0,2))
Doug
Is item 4 of http://www.sagemath.org/doc/tutorial/tour_functions.html
sufficient? If not, that might be a place someone could clarify better.
Thanks,
Jason