kill(all)$

load(ntrig)$ load(atrig1)$

van=facebook.com/LearningCalculus$

f(x):=tan(x)^2=a/b;

fullratsimp(f(x));

solve(%,x);