Continuous Uniform Distribution
The continuous uniform distribution is the probability distribution of random number selection from the continuous interval between a and b. Its density function is defined by the following.
Here is a graph of the continuous uniform distribution with a = 1, b = 3.
Problem
Select ten random numbers between one and three.
Solution
We apply the generation function runif of the uniform distribution to generate ten random numbers between one and three.