If $\int \frac{dx}{2\sin^2 x + \sin 2x} = \frac{1}{2}\log|f(x)| + c$ and $f\left(\frac{\pi}{4}\right) = \frac{1}{2}$, then $f(x) =$
- (1)
$\frac{\sin x}{1+\sin x}$
- (2)
$\frac{\cos x}{1+\cos x}$
- (3)
$\frac{\tan x}{1+\tan x}$
- (4)
$\frac{\cot x}{1+\cot x}$
Show answer
Option (3) is correct.
The council's preliminary key