Q.
If $f: R \rightarrow R$ is defined by
$f(x)=\begin{cases}\frac{2 \sin x-\sin 2 x}{2 x \cos x}, & \text { if } x \neq 0 \\ a, & \text { if } x=0\end{cases}$
then the value of a so that f is continuous at $0$ is
Solution: