Question
Find the values of $k$ so that the function $f$ is continuous at $x=\frac{\pi}{2}$
$f(x)=\left\{\begin{array}{cc}
\frac{k \cos x}{\pi-2 x}, & x \neq \frac{\pi}{2} \\
3, & x=\frac{\pi}{2}
\end{array}\right.$
$f(x)=\left\{\begin{array}{cc}
\frac{k \cos x}{\pi-2 x}, & x \neq \frac{\pi}{2} \\
3, & x=\frac{\pi}{2}
\end{array}\right.$