Question: Mark $(\sqrt{)}$ against the correct answer in each of the following:
$\int \frac{\cos x}{\left(1+\sin ^{2} x\right)} d x=?$
A. $-\tan ^{-1}(\sin x)+C$
B. $\tan ^{-1}(\cos \mathrm{x})+\mathrm{C}$
C. $\tan ^{-1}(\sin x)+C$
D. $-\tan ^{-1}(\cos x)+C$
Solution: