Two Children Probability Simulator

The Problem

Consider a family with two children. We're told that at least one of them is a boy born on a Tuesday. What is the probability that both children are boys?

The Theory

For each child, we need to consider:

Total possible cases (given Tuesday boy): 27 - Both boys (BB): 13 cases - Mixed (BG/GB): 14 cases Theoretical probability = 13/27 ≈ 0.481

The Simulation

Each pixel represents one family with two children. Colors indicate:

Both Boys (with Tuesday)
Mixed Gender (with Tuesday Boy)
No Tuesday Boy

Total Families

0

Valid Cases (Tuesday Boy)

0

Both Boys Cases

0

Experimental Probability

0
Theory: 13/27 ≈ 0.481