Define functions and as follows:

Find a formula for . Find the values at which is continuous.

If , we have and we compute the composition,

If , then and we compute the composition,

Putting these together,

Certainly is continuous for all since the constant function and the polynomial are continuous. Further, is continuous at since