Consider a function $f:M\rightarrow\mathbb{R}$, where $M$ is a $C^{\infty}$ manifold. Recall that a function f is smooth if $\forall$ $p$ $\in M$, $\exists$ a smooth chart $(U,\phi)$ that contains $p$ such that $f o \phi^{-1}$ is a smooth map from $\phi(U)$ to $\mathbb{R}$.
Suppose now I set $M=\mathbb{R}^{n}$. Does there exist a function $f$ and a smooth atlas for $M$ such that the function $f$ is smooth in the sense that I have just defined, but it is not smooth in the sense of ordinary calculus (Note: smooth in the sense of ordinary calculus means that the function has continuous partial derivative of all order)?