p = frequency of the dominant allele (represented by A)
q = frequency of the recessive allele (represented by a)
p^2 = frequency of AA (homozygous dominant)
2pq = frequency of Aa (heterozygous)
q^2 = frequency of aa (homozygous recessive)
For a population in genetic equilibrium: