Option B:
f(3) = 5
Solution:
Given function:
[tex]f(x)=\left\{\begin{aligned}-x^{2}, \ \ & x<-2 \\3, \ \ &-2 \leq x<0 \\x+2, \ \ & x \geq 0\end{aligned}\right.[/tex]
To find the value of f(3):
Here x value is 3 which is greater than 0 (3 > 0).
Therefore, f(x) = x + 2.
Substitute x = 3 in the above function.
f(3) = 3 + 2
f(3) = 5
Hence option B is the correct answer.