Answer:
The margin of error for the 90% confidence interval is of 0.038.
Explanation:
In a sample with a number n of people surveyed with a probability of a success of
, and a confidence level of
, we have the following confidence interval of proportions.

In which
z is the zscore that has a pvalue of
.
The margin of error is:

To this end we have obtained a random sample of 400 fruit flies. We find that 280 of the flies in the sample possess the gene.
This means that

90% confidence level
So
, z is the value of Z that has a pvalue of
, so
.
Give the margin of error for the 90% confidence interval.



The margin of error for the 90% confidence interval is of 0.038.