In order to find the sample size, we can use the following formula that relates the population and sample standard deviations:
[tex]\sigma_{\bar{x}}=z\frac{\sigma}{\sqrt{n}}[/tex]For a confidence interval of 95%, we have z = 1.96.
Then, using the values of the standard deviations, we have:
[tex]\begin{gathered} 3=1.96\frac{24}{\sqrt{n}}\\ \\ 3=\frac{47.04}{\sqrt{n}}\\ \\ \sqrt{n}=11.76\\ \\ n=138.3 \end{gathered}[/tex]Rounding to the next whole number, we have a sample size of 139.