$\newcommand{\bbx}[1]{\,\bbox[15px,border:1px groove navy]{\displaystyle{#1}}\,}
\newcommand{\braces}[1]{\left\lbrace\,{#1}\,\right\rbrace}
\newcommand{\bracks}[1]{\left\lbrack\,{#1}\,\right\rbrack}
\newcommand{\dd}{\mathrm{d}}
\newcommand{\ds}[1]{\displaystyle{#1}}
\newcommand{\expo}[1]{\,\mathrm{e}^{#1}\,}
\newcommand{\ic}{\mathrm{i}}
\newcommand{\mc}[1]{\mathcal{#1}}
\newcommand{\mrm}[1]{\mathrm{#1}}
\newcommand{\pars}[1]{\left(\,{#1}\,\right)}
\newcommand{\partiald}[3][]{\frac{\partial^{#1} #2}{\partial #3^{#1}}}
\newcommand{\root}[2][]{\,\sqrt[#1]{\,{#2}\,}\,}
\newcommand{\totald}[3][]{\frac{\mathrm{d}^{#1} #2}{\mathrm{d} #3^{#1}}}
\newcommand{\verts}[1]{\left\vert\,{#1}\,\right\vert}$
Suppose that $\ds{\braces{x_{1},x_{2},\ldots,x_{n}}}$
are $\ds{n}$ independently uniformly distributed real numbers from $0$ to $k$, then what is the probablity that their sum is less than $k$ ?.
By definition:
\begin{align}
&\bbox[10px,#ffd]{\ds{\int_{0}^{k}{\dd x_{1} \over k}
\int_{0}^{k}{\dd x_{2} \over k}\cdots
\int_{0}^{k}{\dd x_{n} \over k}\bracks{x_{1} + x_{2} + \cdots x_{n} < k}}}
\\[5mm] = &\
{1 \over k^{n}}
\int_{0}^{\infty}\int_{0}^{\infty}\cdots\int_{0}^{\infty}
\bracks{k - x_{1} - x_{2} - \cdots - x_{n} > 0}
\dd x_{1}\,\dd x_{2}\ldots\dd x_{n}\
\pars{\begin{array}{l}
\mbox{Integrals contribution}
\\
\mbox{'beyond'}\ k\ \mbox{vanishes out.}
\end{array}}
\\[5mm] = &\
{1 \over k^{n}}
\int_{0}^{\infty}\int_{0}^{\infty}\cdots\int_{0}^{\infty}
\underbrace{\braces{\int_{c - \infty\ic}^{c + \infty\ic}{\exp\pars{\bracks{k - x_{1} - x_{2} - \cdots - x_{n}}s} \over s}\,{\dd s \over 2\pi\ic}}}
_{\ds{=\ \bracks{k - x_{1} - x_{2} - \cdots - x_{n} > 0}}}\
\dd x_{1}
\,\dd x_{2}\ldots\dd x_{n}
\end{align}
where $\ds{c > 0}$.
Then,
\begin{align}
&\bbox[10px,#ffd]{\ds{\int_{0}^{k}{\dd x_{1} \over k}
\int_{0}^{k}{\dd x_{2} \over k}\cdots
\int_{0}^{k}{\dd x_{n} \over k}\bracks{x_{1} + x_{2} + \cdots x_{n} < k}}}
\\ = &\
{1 \over k ^{n}}
\int_{c - \infty\ic}^{c + \infty\ic}{\exp\pars{ks} \over s}\
\underbrace{\pars{\int_{0}^{\infty}\expo{-xs}\dd x}^{n}}
_{\ds{=\ {1 \over s^{n}}}}\ \,{\dd s \over 2\pi\ic} =
{1 \over k ^{n}}\
\overbrace{\int_{c - \infty\ic}^{c + \infty\ic}{\exp\pars{ks} \over s^{n + 1}}
\,{\dd s \over 2\pi\ic}}^{\ds{k^{n} \over n!}}\ =\ \bbx{1 \over n!}
\end{align}