Evaluate the following integral:
We have,
Let 1 – sin x = t
⇒ – cos x dx = dt
⇒ I= – (ln t – ln(1 + t)) + c
⇒ I= ln (1 + t) – ln t + c