If $f(x)$, defined as given below, is continuous on $R$, then the value of $a+b=$ ______
$f(x)=\begin{cases}\sin x, & x\le0\\ x^2+a, & 0<x<1\\ bx+3, & 1\le x\le3\\ -3, & x>3\end{cases}$
- (1)
0
- (2)
2
- (3)
$-2$
- (4)
3
Show answer
Option (3) is correct.
The council's preliminary key