What you are exploring
Each parent passes one allele to each offspring. Independent transmission creates predictable genotype probabilities, but finite samples fluctuate around the expected Mendelian ratios.
P(AA)=p₁p₂; P(Aa)=p₁(1−p₂)+(1−p₁)p₂; P(aa)=(1−p₁)(1−p₂)