As a result of a random experiment, two independent events, X and Y may occur with the following probabilities:
Pr(X)=0.5 and Pr(Y)=0.8
Define the random variable U as the number of events X and Y which occur as a result of the random experiment. Thus, for example U=2 if both X and Y occur.
Find Pr(U=0), Pr(U=1) and Pr(U=2)