kill(all)$ fpprec:4$

     Van - facebook.com/LearningCalculus

f(x):=%e^x-x^%e$
g(x):=x-%e$

y(x):=f(x)/g(x);

'limit(y(x),x,2);

f(%e);g(%e);

fp(x):=diff(f(x),x)$ fp(x);
gp(x):=diff(g(x),x)$ gp(x);

fp:radcan(substitute(%e,x,fp(x)));
gp:radcan(substitute(%e,x,gp(x)));

L:fp/gp;

float(L);