Let Xi for i<1,000,000 be i.i.d. random numbers that are uniform in the interval.
You meant to say “the interval [0,1]”.
I added the word unit.
You meant to say “the interval [0,1]”.
I added the word unit.