kill(all)$

van=facebook.com/LearningCalculus$

f(x):=(tan(%pi/(x-1))-1)/(x-5);

limit(f(x),x,5);