# Find the values of K. So that the function $f(x) = \left\{ \begin{array}{l l} \large\frac{k \cos x}{\pi -2x} & \quad if \quad x \neq \large\frac{\pi}{2} \\ 3 & \quad if \quad x =\large\frac{\pi}{2} \end{array} \right.$ is continuous at $x =\large\frac{\pi}{2}$ .
$\begin{array}{1 1}(A)\;6 \\(B)\;4 \\(C)\;5 \\(D)\;8 \end{array}$