14. An experiment consists of rolling a die and then tossing a coin once if the number on the die is even. If the number on the die is odd, the coin is tossed twice. Write the sample space for this experiment.
Possible outcomes when a die is thrown = {1,2,3,4,5,6}
Possible outcomes when a coin is tossed = {H,T}
If the number on the die is even {2,4,6}, the coin is tossed once.
S1 = {2H, 2T, 4H, 4T, 6H, 6T}
If the number on the die is odd {1,3,5}, the coin is tossed twice.
S2 = {1HH, 1HT, 1TH, 1TT, 3HH, 3HT, 3TH, 3TT, 5HH, 5HT, 5TH, 5TT}
The required sample space is:
S = {1HH, 1HT, 1TH, 1TT, 2H, 2T, 3HH, 3HT, 3TH, 3TT, 4H, 4T, 5HH, 5HT, 5TH, 5TT, 6H, 6T}