This is LaTeX code:
[latex]
J=\int cos^2xdx=cosxsinx+\int sin^2xdx=cosxsinx+\int (1-cos^2x)dx=cosxsinx+\int1dx-\int cos^2xdx=cosxsinx+x-J
[/latex]