there's this integral where the answers do t-subs but I'm wondering whether multiplying both the numerator and denominator by sin(theta) - 1 as shown below (with many lines of working skipped) would work.
\int_{0}^{pi/2}{\frac{1}{sin\theta+1}}^{}{d\theta}
=...