Final answer:
In the given sample, there are 25 A alleles and 19 a alleles. The allele frequencies in this sample are 56.8% for the A allele and 43.2% for the a allele.
Step-by-step explanation:
In the given sample, there are 10 AA individuals, 15 Aa individuals, and 4 aa individuals.
To determine the number of A alleles, we count the AA and Aa individuals since both have at least one A allele. Therefore, there are 10 + 15 = 25 A alleles in total.
To determine the number of a alleles, we count the Aa and aa individuals since both have at least one a allele. Therefore, there are 15 + 4 = 19 a alleles in total.
The allele frequencies can be calculated by dividing the number of alleles by the total number of alleles in the sample. The frequency of the A allele is 25 / (25 + 19) = 0.568, or 56.8%. The frequency of the a allele is 19 / (25 + 19) = 0.432, or 43.2%.