Exercise 38

Prove that: \(\cot^{-1}(\frac{\sqrt{1+\sin x} + \sqrt{1-\sin x}}{\sqrt{1+\sin x} - \sqrt{1-\sin x}}) = \frac{x}{2}, x \in (0, \frac{\pi}{4})\)