Suppose that $f: \mathbb{R} \rightarrow \mathbb{R}$ satisfies $f(0)=0$ and $|f'(x)|\leq M$. Prove that $|f(x)|\leq M|x|$. Apply this to the function $f(x)=\sin x$.
I'm unsure of how to prove this problem. This problem is from the Mean Value Theorem section chapter. I will ask question if in doubt of the proof provided.