syms x a b n c f(x) = tan(a * x) / (1 + tan(a * x)); F(x) = int(f, x); F(x) = simplify(F, Steps=10000, Seconds=30); disp(F);