For any number $x$, the largest integer less than or equal to $x$ is denoted by $[x]$. For example, $[3.7]=3$ and $[4]=4$. Sketch the graph of $y=[x]$ for $0\leqslant x<5$ and evaluate
$$
\int_0^5 [x]\;\mathrm d x.
$$
Sketch the graph of $y=[\mathrm e^{x}]$ for $0\leqslant x< \ln n$, where $n$ is an integer, and show that
$$
\int_{0}^{\ln n}[\mathrm e^{x}]\, \mathrm d x =n\ln n - \ln (n!).
$$