f(x):=(1/tan(x))^(1/log(x));

limit(f(x),x,0);

limit(f(x),x,minus);