A random variable $X$ has a pdf $f(x)$ defined over an interval $[a, b]$ where $b>a>0$ The equation that defines $f(x)$ is $f(x)=k$
a) Find $k$ in terms of $a$ and $b$
b) Also, in terms of $a$ and $b,$ find
(i) the mean
(ii) the median
(iii) the variance.
Note: This is known as the uniform distribution.