To find the probability of getting all heads when tossing a coin 4 times, we need to consider the total number of outcomes and the number of favorable outcomes.
When you toss a coin, there are 2 possible outcomes for each toss: heads (H) or tails (T). Therefore, when tossing the coin 4 times, the total number of outcomes is calculated as:
24 = 16
Now, we are specifically interested in the event where all 4 tosses result in heads. There is only 1 such outcome, which is HHHH.
Hence, the probability of getting all heads is given by the ratio of favorable outcomes to the total number of outcomes:
Probability = (Number of Favorable Outcomes) / (Total Number of Outcomes)
This simplifies to:
Probability = 1 / 16
Therefore, the probability of getting all heads when tossing a coin 4 times is 1/16, or 0.0625 when expressed as a decimal.