Example 1:Functions of random variables Let X be a random variable that takes value from 0 to 9 with equal probability 1/10. .(b)Find the PMF of the random variable Y 5 mod(X+1). X 0 3 A 5 6 8 0 2 1 0 5 5 5 5 0 1 2 5 6=15 品=5 1/10 10=1/2Example 1: Functions of random variables • Let 𝑋 be a random variable that takes value from 0 to 9 with equal probability 1/10. • (b) Find the PMF of the random variable 𝑌 = 5 𝑚𝑜𝑑(𝑋 + 1). 7 X 0 1 2 3 4 5 6 7 8 9 Y 0 1 2 1 0 5 5 5 5 5 Y 0 1 2 5 P 2 10 = 1/5 2 10 = 1/5 1/10 5 10 = 1/2