A population of mice has black or brown hair. The gene for black hair color (B) is dominant over brown (b). If 16% of the mice are homozygous black and 24% are heterozygous black, what would be the frequency of each allele?
(p + q = 1, p2 + 2pq + q2 = 1)