changed: -integrate(atan(a^2*(x^2-1)*sec(a*x)),x) integrate(x^m/cos(x)^n,x)
integrate(x^m/cos(x)^n,x)