If the function $f:\mathbb{R}\to\mathbb{R}$ defined by $f(x)=\begin{cases} a\left(\frac{1-\cos 2x}{x^2}\right), & \text{for } x<0\\ b, & \text{for } x=0\\ \frac{\sqrt{x}}{\sqrt{4+\sqrt{x}}-2}, & \text{for } x>0\end{cases}$ is continuous at $x=0$, then $a+b=$
- (1)
$2$
- (2)
$4$
- (3)
$6$
- (4)
$8$
Show answer
Option (3) is correct.
Official TGCHE final key