i have a feeling that its wrong. the line where you sub 'u' in.
you changed it from 1+tanx (sqaured) / tanx to 1+ u (squared) / u.
so you basically let u = tanx as you subbed it in. however, you initially stated that u=ln(tanx). so...
maybe i'm wrong, but just check it. i dont think its that easy otherwise i woulda got it ages ago. LOL i asked my teacher and he subbed it into a maths program today and the program said that the integration was unsolvable.
so you could try it again, but most likely it's unsolvable.
thanks anyway.