If $f(x) = \begin{cases} \sin x & \text{if } x \le 0 \\ x^2 + a^2 & \text{if } 0 < x < 1 \\ bx + 2 & \text{if } 1 \le x \le 2 \\ 0 & \text{if } x > 2 \end{cases}$ is continuous on $\mathbb{R}$, then $a + b + ab =$
- (1)
$-2$
- (2)
0
- (3)
2
- (4)
$-1$
Show answer
Option (4) is correct.
The council's preliminary key