Can someone show me how to integrate tan x wrt x please? I know you have 1/cos x, which gives a natural log, but after that I can't work it out. Thanks.

Also, if you could do the same for cot x that would be great!

Thanks.