Janis tossed a coin twice. She made a tree diagram to show the possible outcomes.

The probability of tossing a head is =1/2
The probability of tossing a tail is =1/2
If the coin is tossed twice, the probability of tossing two heads will be given by
[tex]P(HnH)=\frac{1}{2}\times\frac{1}{2}=\frac{1}{4}[/tex]If Janis tossed the coin three times, then the tree diagram will be extended as shown below:
Hence,
[tex]P(HnHnH)=\frac{1}{2}\times\frac{1}{2}\times\frac{1}{2}=\frac{1}{8}[/tex]