Answer: The value of n is 321.
Step-by-step explanation:
Since we have given that
Sample size = 321
Percentage of them developed headaches = 7%
So, the value of p would be
[tex]\dfrac{x}{n}=\dfrac{7}{100}=0.07[/tex]
Now, the value of q would be
[tex]q=1-p\\\\q=1-0.07\\\\q=0.93[/tex]
And the mean for the number of subjects who develop headaches would be
[tex]n=pq\\\\n=0.07\times 0.93\\\\n=0.0651[/tex]
and the standard deviation would be
[tex]\sigma=\sqrt{npq}\\\\\sigma=\sqrt{321\times 0.07\times 0.93}\\\\\sigma=4.571[/tex]
Hence, the value of n is 321.