Then
Y(HH) = 2, Y (HT) = 0, Y (TH) = 0, Y (TT) = – 2 Thus, X and Y are two different random variables defined on the same sample
space S Example  22 A person plays a game of tossing a coin thrice For each head, he is
given Rs 2 by the organiser of the game and for each tail, he has to give Rs 1