Solution :
In the question, it is given that :
There are 50 percent yellow winged butterflies and 50 percent black winged butterflies.
The sampled population of the butterflies follows the Hardy-Weinberg equilibrium.
Therefore,
So,
Therefore, the allele frequency for yellow winged butterflies will be q = 0.707