Exercise 18

Write the following function in the simplest form: \(\tan^{-1}(\sqrt{\frac{1-\cos x}{1+\cos x}}), 0 < x < \pi\)