Genotype Frequencies Compute expected Hardy-Weinberg genotype frequencies p^2, 2pq, and q^2 from an allele frequency. Description Compute expected Hardy-Weinberg genotype frequencies p^2, 2pq, and q^2 from an allele frequency.