f(x):=(2-%e^sin(x))^cot(%pi*x);

L_left: limit(f(x),x,0,minus);

L_rite: limit(f(x),x,0,plus);

is(equal(L_left, L_rite));

float(L_left);