Find the value of k if \({\rm{f}}\left( {\rm{x}} \right) = \left\{ {\begin{array}{*{20}{c}} {cosx + \frac{{\rm{x}}}{{{\rm{sinx}}}},\;x \ne 0}\\ {\frac{{\rm{k}}}{2},\;\;x = 0} \end{array}} \right.\) is continuous at x = 0?
1
k = 2
2
k = 1
3
k = 4
4
k = 0
5
Question Not Attempted