Section 2.4 Question 1 Answer
There is such a function, one possible example is shown below.