Step 1: Simplify
\(\dfrac{1-\sin x}{1+\sin x}=\tan^2\left(\dfrac\pi4-\dfrac x2\right)\), so the root is \(\tan\left(\dfrac\pi4-\dfrac x2\right)\) when \(\dfrac\pi4-\dfrac x2\in\left(0,\dfrac\pi2\right)\).
Step 2: Use the range
For \(-\dfrac\pi2\lt x\lt\dfrac\pi2\), \(\dfrac\pi4-\dfrac x2\in\left(0,\dfrac\pi2\right)\), so \(\tan^{-1}(\cdot)=\dfrac\pi4-\dfrac x2\).
Step 3: Integrate
\(\int\left(\dfrac\pi4-\dfrac x2\right)dx=\dfrac\pi4x-\dfrac{x^2}{4}+C\).
Step 4: Compare the options
This is option (D).
Final Answer:
The integral equals pi x over 4 minus x squared over 4 plus C.
\[ \boxed{\text{(D) }\dfrac{\pi}{4}x-\dfrac{x^{2}}{4}+C} \]