Step 1:
The uniform probability density function is defined as:
\[f(x) = \begin{cases}
\frac{1}{b-a} & \text{for } a \leq x \leq b \\
0 & \text{otherwise}
\end{cases}\]
where $a$ and $b$ are the lower and upper bounds of the interval, respectively.
Show more…