Practice!

Sample Problem

Evaluate the following functions using this piecewise function:

a)f(3)=

b)f(-1)=

c)f(0)=

d)f(-6)=

e)f(8)=

 

Solution

a)f(3): since 3 is included in the domain of the second equation, calculate the absolute value of 3, which is 3.

b)f(-1): since -1 is included in the domain of the first equation, plug in -1 into the first equation to get -1.

c)f(0): since 0 is included in the domain of the second equation, calculate the absolute value of 0, which is 0.

d)f(-6): since -6 is included in the domain of the first equation, plug in -6 into the first equation to get 24.

e)f(8): since 8 is included in the domain of the third equation, plug in 8 in the third equation to get -4.