If \(\sin^{-1} x + \cot^{-1}\left(\frac{1}{2}\right) = \frac{\pi}{2}\), then value of \(x\) will be
If \( f(x) = \begin{cases} \frac{\sin |x|}{x}, & \text{for } [x] \ne 0 \\ 0, & \text{for } [x] = 0 \end{cases} \) where, \([x]\) denotes the greatest integer less than or equal to \(x\), then \(\lim_{x \to 0} f(x)\) is equal to