To evaluate the function \( f(x) \) defined as:
\[ y = \begin{cases} x^2 - 2 & \text{if } x \leq 0 \ x^3 + 3 & \text{if } x > 0 \end{cases} \]
we will find the values for \( f(-4) \) and \( f(2) \).
Part (a): Finding \( f(-4) \)
Since -4 is less than 0, we will use the first case of the piecewise function:
\[ f(-4) = (-4)^2 - 2 \]
Calculating this:
\[ = 16 - 2 = 14 \]
So,
\[ f(-4) = 14 \]
Part (b): Finding \( f(2) \)
Since 2 is greater than 0, we will use the second case of the piecewise function:
\[ f(2) = 2^3 + 3 \]
Calculating this:
\[ = 8 + 3 = 11 \]
So,
\[ f(2) = 11 \]
Summary of Results:
(a) \( f(-4) = 14 \)
(b) \( f(2) = 11 \)