This says e^x as it should:

forget();
x=var('x'); h=var('h');
assume(x, 'integer')
f = exp(x)
limit ( (f(x+h)-f(x))/h, h=0)

If I change assume(x, 'integer') to assume(x, 'rational') I got question "Is x an integer?" from Maxima. Why so?

--
Jori Mäntysalo

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to