If a function f defined by
f(x) = \(\begin{cases} \frac{k\,cosx}{\pi-2x}& ,if\,x≠\frac{\pi}{2}\\ 3 &, if\,x=\frac{\pi}{2}\end{cases}\)
is continuous at x = π/2, then the value of k is :
{kcosx/(π-2x), if x ≠ π/2 3, if x = π/2
(a) 2
(b) 3
(c) 6
(d) -6