Assuming that a population is mating randomly, no mutation or gene flow is occurring, calculate the frequencies of the two alleles for the five generations shown in the table below.

Generaton #AA #Aa #aa p q Initial (P1) 42 46 12 0.65 0.35 F1 40 45 15 (?) (?) F2 38 49 13 (?) (?) F3 45 40 15 (?) (?) F4 46 48 6 (?) (?) F5 44 40 16 (?) (?)

To calculate the frequencies of the two alleles, we need to determine the number of copies of each allele in the population and divide it by the total number of alleles.

Let's denote the frequency of allele A as p and the frequency of allele a as q.

In the initial generation (P1), we are given the counts of each genotype: #AA = 42, #Aa = 46, and #aa = 12.

To calculate the frequencies, we need to convert the genotype counts to allele counts:
- Each AA genotype has 2 copies of allele A, so we have 42 * 2 = 84 copies of allele A.
- Each Aa genotype has 1 copy of allele A, so we have 46 * 1 = 46 copies of allele A.
- Each aa genotype has 2 copies of allele a, so we have 12 * 2 = 24 copies of allele a.

The total number of copies of alleles in the initial generation is 84 + 46 + 24 = 154.

Therefore, the frequencies are:
- Frequency of allele A (p) = (# copies of allele A) / (total # copies of alleles) = 84 / 154 = 0.5468
- Frequency of allele a (q) = (# copies of allele a) / (total # copies of alleles) = 24 / 154 = 0.1558

Now let's calculate the frequencies for the subsequent generations.

In F1, we are given #AA = 40, #Aa = 45, and #aa = 15. Following the same logic as above:
- # copies of allele A = 40 * 2 = 80
- # copies of allele a = 15 * 2 = 30
- Total # copies of alleles = 80 + 45 + 30 = 155

Therefore, the frequencies in F1 are:
- p = 80 / 155 = 0.5161
- q = 30 / 155 = 0.1935

You can continue this process for the remaining generations (F2, F3, F4, F5) using the same logic and formulas.

Here's the complete table:

Generaton #AA #Aa #aa p q
Initial (P1) 42 46 12 0.65 0.35
F1 40 45 15 0.5161 0.1935
F2 38 49 13 (?) (?)
F3 45 40 15 (?) (?)
F4 46 48 6 (?) (?)
F5 44 40 16 (?) (?)