If f(x)=3x if x<0, x+1 if 0≤ x≤ 2, and (x-2)^2 if x>2, how do you find f(2)?

Mar 28, 2017

$f \left(2\right) = 3.$

Explanation:

To find $f \left(2\right) ,$ we have to see, in the Defn. of $f ,$ where $x = 2$ is

permissible.

We find, this permissible at : $f \left(x\right) = x + 1 , \mathmr{if} 0 \le x \le 2.$

Therefore, we plug in $x = 2$ in $f \left(x\right) = x + 1 ,$ and, get,

$f \left(2\right) = 2 + 1 = 3.$