Flip a Fair Coin

Flip a Fair Coin
Loading the math board and drawing, please wait…
2015-03-14 12:47
In collections Statistical Applets
This example demonstrates the cumulative proportion of heads when flipping a fair coin, illustrating key concepts in probability & statistics such as the law of large numbers and cumulative distribution. It is constructed using commands like Random, Sequence, Sum, LaTeX, Segment, Append, and Element, making it suitable for high school students learning probability theory or for educational purposes.

GeoGebra Commands & Parameters

  1. Random(1, 2) → a
  2. Sequence(Random[0, 1], k, 1, 1000) → flips_1
  3. Sum(flips_1) → b
  4. Random(0, 1) → B2
  5. Sequence((n, Sum[flips_1, n] / n), n, 1, flips) → list4
  6. LaTeX(ProportionOfHeads, true, true) → text1
  7. Sequence(Segment[Element[list4, k], Element[list4, k + 1]], k, 1, flips) → list2
  8. Segment((0, 0.5), (1000, 0.5)) → c
  9. Append(list1, Random[1, 2]) → list3
  10. Element(flips_1, flips) → lastflip

AI Drawing Prompt Reference

Draw a cumulative probability graph showing the proportion of heads after 1000 fair coin flips. First, generate 1000 flip results, calculate the cumulative sum of heads, then plot the line graph of the cumulative proportion, and finally draw a horizontal line representing the 50% probability.
The prompt above was compiled from the original drawing commands and is for reference only.