Sample size n = 500
Proportion of bad apples P = 45/500 = 0.09
So proportion of good apples Q = 1 – 0.09 = 0.91
The confidence limits for population proportion are given by,
= (0.09 – (2.58) (0.013), 0.09 + (2.58) (0.013)) .
= (0.09 – 0.034, 0.09 + 0.034)
= (0.056, 0.124)
Thus the bad apples lie between 5.6% and 12.4%