We take $R1 - R2$ and $R3 - R2$. The determinant becomes:
\[f(x)=\left|\begin{array}{ccc}
\sin 2 x(1+2 \cos x) - (3+4 \sin x) & \sin 2 x - 3 & \sin 3 x - 4 \sin x \\
3+4 \sin x & 3 & 4 \sin x \\
1+\sin x - (3+4 \sin x) & \sin x - 3 & 1 - 4 \sin
Show more…