If the real valued function $f(x)=\begin{cases}\dfrac{\cos 3x-\cos x}{x\sin x} & \text{if } x<0\\ \mathrm{p} & \text{if } x=0\\ \dfrac{\log(1+\mathrm{q}\sin x)}{x} & \text{if } x>0\end{cases}$ is continuous at $x=0$ then $\mathrm{p}+\mathrm{q}=$
- (1)
$4$
- (2)
$-4$
- (3)
$8$
- (4)
$-8$
Show answer
Option (4) is correct.
The council's preliminary key