A number cube can land on 1, 2, 3, 4, 5, or 6 and all those numbers are equally probable; therefore, the probability of rolling a 5 is
[tex]P(5)=\frac{1}{6}[/tex]On the other hand, when tossing a coin it can only land on heads or tails; thus, the probability of tossing heads is
[tex]P(heads)=\frac{1}{2}[/tex]