A chemist who has prepared a product designed to kill a particular type of insect wants to evaluate the kill rate of her preparation.

What sample size should she use if she wishes to be 95% confident that her experimental results fall within 0.02 of the true fraction of insects killed?

This is what I did to solve the problem. I am wondering if it is correct?

Let x be a true fraction.

alpha = 0.05

alpha/2 = 0.025

so, z = 1.96

sqrt(n) ≥ z / 0.02 = 98

n ≥ 9604

so, n = 9604