208k views
1 vote
Use the piecewise function to evaluate f(4):

f(x) =

3, x < -5
x + 4, -5 < x < 0
x^2 - 3x, x > 0
x^4 - 7, otherwise

User Lazy Ninja
by
8.2k points

1 Answer

7 votes

Final answer:

To evaluate f(4) in the given piecewise function, we can use the third part of the function, f(x) = x^2 - 3x, since 4 > 0. Plugging in 4, we get f(4) = 4.

Step-by-step explanation:

To evaluate f(4), we need to find the value of the function at the given input. In the given piecewise function, f(x) = 3 when x < -5, f(x) = x + 4 when -5 < x < 0, f(x) = x^2 - 3x when x > 0, and f(x) = x^4 - 7 for any other value of x.

Since 4 is greater than 0, we can use the third part of the function, which is f(x) = x^2 - 3x. Plugging in 4, we get:

f(4) = 4^2 - 3(4) = 16 - 12 = 4.

Therefore, f(4) = 4.

User Gauravparmar
by
8.1k points