This distribution assigns equal probabilities to all possible values of the
random variable within the range a to b, inclusive. It is
often used when only the range is known, but there is no information about
the distribution within the range.
We use the general expression for the variance, because there is no simple
expression that uses only a and b.