If \(f(x)=\left\{\begin{array}{cc}\frac{a}{2}(x-|x|) & , \\ 0, & \text { for } x<0 \\ 0, & \text { for } x=0 \\ b x^2 \sin \left(\frac{1}{x}\right) & \text { for } x>0\end{array}\right.\)
is continuous at \(x=0\), then