Draws a single random value from this triangular distribution using inverse CDF sampling.
a random value in [a, b] drawn from this distribution.
[a, b]
the source of randomness.