Integration with trig functions

Integral of [(1-sinx)/cos^2x] dx

a simple division turns this into

∫sec^2x - secx tanx dx

how about that?