If $[x]$ denotes the greatest integer not exceeding $x$ and if the function $f$ defined by $f(x)=\begin{cases}\dfrac{a+2\cos x}{x^{2}} & (x<0)\\ b\tan\dfrac{\pi}{[x+4]} & (x\ge 0)\end{cases}$ is continuous at $x=0$, then the ordered pair $(a,b)=$
- (1)
$(-2,1)$
- (2)
$(-2,-1)$
- (3)
$(-1,\sqrt{3})$
- (4)
$(-2,-\sqrt{3})$
Show answer
Option (2) is correct.
The council's preliminary key