I need to construct a real function with is exactly C^2 (that is, it is continuous and 2 times differentiable but it is not 3 times differentiable) such that its first derivative never vanishes.
I tried
x^5 Sin(1/x) + Exp(x)
x^(5/2) + Exp(x)
|x|^3 + Exp(x)
all these functions are exactly C^2, but their first derivatives vanish in some point(s). :(