Example

Applying the Binomial Formula for One Head in Three Flips

To calculate the probability of getting exactly one head in three independent coin flips, the binomial formula can be applied. In this scenario, the number of trials (nn) is 3, the desired number of successes (kk) is 1, and the probability of a single success (heads, pp) is 0.5. Substituting these values into the formula, (31)(0.5)1(0.5)3โˆ’1\binom{3}{1}(0.5)^1(0.5)^{3-1}, results in a calculation of $3 \cdot 0.5 \cdot 0.25$, which equals 0.375.

Image 0

0

1

Updated 2025-10-10

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences