No such function exists. To see this, use the Mean Value Theorem twice. Let
and
. Because
everywhere,
and
are differentiable everywhere and we can use the Mean Value Theorem for
and
on the closed interval
. By the Mean Value Theorem applied to
on
, there is a number
such that
and
.
Now let
and
, where
is as defined above. By the Mean Value Theorem applied to
on
, there is a number
such that
and
. But then,
contradicting the assumption that
everywhere. Hence, no such function
exists.