Question
If function $f$ is defined such that
$
f(x)=\left\{\begin{array}{cc}
\frac{k \cos x}{\pi-2 x}, & \text { if } x \neq \frac{\pi}{2} \\
3, & \text { if } x=\frac{\pi}{2}
\end{array}\right.
$is continuous at $x=\frac{\pi}{2}$, then value of $k$ :
$
f(x)=\left\{\begin{array}{cc}
\frac{k \cos x}{\pi-2 x}, & \text { if } x \neq \frac{\pi}{2} \\
3, & \text { if } x=\frac{\pi}{2}
\end{array}\right.
$is continuous at $x=\frac{\pi}{2}$, then value of $k$ :