Skip to main content

learn.howToCalculate

learn.whatIsHeading

A coin flipper simulates a fair coin toss with 50% probability of heads or tails. Despite the simplicity, coin flipping is the foundation of binary decisions, probability theory, and cryptographic key generation.

Водич корак по корак

  1. 1Each flip is independent — previous results do not affect future flips
  2. 2P(heads) = P(tails) = 0.5 (50%) for a fair coin
  3. 3Expected number of heads in n flips: n/2
  4. 4The longest known streak of heads on record: 10 consecutive heads occurs on average every 1,024 flips

Worked Examples

Инпут
10 coin flips
Резултат
Random sequence, e.g. H-T-H-H-T-T-H-T-H-H

Подешавања