If $f: R \rightarrow R$ defined by $$ f(x)=\left\{\begin{array}{cc} a^2 \cos ^2 x+b^2 \sin ^2 x, & x \leq 0…
If $f: R \rightarrow R$ defined by
$$
f(x)=\left\{\begin{array}{cc}
a^2 \cos ^2 x+b^2 \sin ^2 x, & x \leq 0 \\
e^{a x+b}, & x>0
\end{array}\right.
$$
is a continuous function, then