let U be a uniform random variable on 0n Roll a die to deter
let U be a uniform random variable on [0,n]. Roll a die to determine the value of n, then draw a number uniformly according to U. What is the probability that this number will be smaller than 1?
Solution
Possible values of n are (1,2,3,4,5,6) having probability of 1/6 each.
probability that this number will be smaller than 1 = 1/6(1/1+1/2+1/3+1/4+1/5+1/6) = 0.408
![let U be a uniform random variable on [0,n]. Roll a die to determine the value of n, then draw a number uniformly according to U. What is the probability that t let U be a uniform random variable on [0,n]. Roll a die to determine the value of n, then draw a number uniformly according to U. What is the probability that t](/WebImages/13/let-u-be-a-uniform-random-variable-on-0n-roll-a-die-to-deter-1017361-1761525804-0.webp)