Answer: 2056
Step-by-step explanation:
The formula for margin of error for population proportion :-
[tex]E=z_{\alpha/2}\times\sqrt{\dfrac{p(1-p)}{n}}[/tex]
Given : Significance level : [tex]\alpha = 1-0.95=0.05[/tex]
Critical value : [tex]z_{0.025}=1.96[/tex]
The proportion of people smoke : p=0.31.
Margin of error : E= 0.02
Substitute all the value in the above formula, we get
[tex]0.02=1.96\times\sqrt{\dfrac{0.31(0.69)}{n}}\\\\\Rightarrow\0.0102=\sqrt{\dfrac{0.2139}{n}} [/tex]
Squaring both sides , we get
[tex]0.00010404=\dfrac{0.2139}{n}\\\\\Rightarrow\ n=\dfrac{0.2139}{0.00010404}=2055.9400230\approx2056[/tex]
Hence, the required sample size = 2056