For the following function, find the value of (a) f(−1) and (b) f(1), if possible.y= 2 if x≤09 if x>0

Given:
The function is,
[tex]\begin{gathered} y=2\text{ if x}\leq0 \\ =9\text{ ifx>0} \end{gathered}[/tex]The value of function at x = -1 is,
[tex]\begin{gathered} \text{For x=-1,} \\ f(x)=y=2,\text{ if x}\leq0 \\ f(-1)=2 \end{gathered}[/tex]And,
[tex]\begin{gathered} \text{For x=1,} \\ f(x)=y=9,\text{ if x>0} \\ f(1)=9 \end{gathered}[/tex]Answer:
[tex]\begin{gathered} f(-1)=2 \\ f(1)=9 \end{gathered}[/tex]