Find the integrals of the functions.
Now,
Let 1 + sin2x = t
⇒ 2cos2x dx = dt
Thus,
⇒
= log|sinx + cosx| + C