For the following function, find the value of (a) f(−2) and (b) f(2), if possible.y= x2−5if x≤0 x3+3if x>0

Since x<0, then:
[tex]\begin{gathered} f(-2)=(-2)^2-5 \\ f(-2)=4-5 \\ f(-2)=-1 \end{gathered}[/tex][tex]f(2)[/tex]Since x>0, then:
[tex]\begin{gathered} f(2)=(2)^3+3 \\ f(2)=8+3 \\ f(2)=11 \end{gathered}[/tex]