Example

Calculating the Probability of Exactly One Head in Three Coin Flips

This example demonstrates how to calculate the probability of a specific outcome from multiple independent events. Consider a scenario where three friends each flip a fair coin once, and the question is: what is the probability that exactly one of them flips heads?

To solve this, we first identify the sample space, which consists of all possible outcomes. Since each of the three flips has two outcomes (Heads or Tails), there are $2^3 = 8$ total possibilities: HHH, HHT, HTH, HTT, THH, THT, TTH, TTT.

Next, we identify the favorable outcomes that match the condition of having exactly one head: HTT, THT, and TTH. There are 3 such outcomes.

The probability is the ratio of favorable outcomes to the total number of outcomes, which is 3/8.

0

1

Updated 2026-05-02

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Computing Sciences

Foundations of Large Language Models Course

Related