Question -
Answer -
Given urn containing 5red and 2 black balls.
Let R represent redball and B represent black ball.
Two balls are drawnrandomly.
Hence, the samplespace of the experiment is S = {BB, BR, RB, RR}
X represents thenumber of black balls.
⇒ X (BB) = 2
X (BR) = 1
X (RB) = 1
X (RR) = 0
Therefore, X is afunction on sample space whose range is {0, 1, 2}.
Thus, X is a randomvariable which can take the values 0, 1 or 2.