I want to take the derivative the a function that includes the number e (exp(1)). How can I solve symbolically using e (i.e., not decimal numbers). For example:
e
exp(1)
syms x e=exp(1) diff(e^-x)
What if you do
syms x; e=exp(sym(1));