Using the z-distribution, we have that:
- For a 99% confidence level, a sample size of 127 is needed.
- For a 95% confidence level, a sample size of 74 is needed, meaning that a decrease in the confidence level decreases the needed sample size, as M and n are inverse proportional.
<h3>What is a z-distribution confidence interval?</h3>
The confidence interval is:

The margin of error is:

In which:
is the sample mean.
is the standard deviation for the population.
For a 99% confidence interval,
, hence z is the value of Z that has a p-value of
, so the critical value is z = 2.575.
The margin of error and population standard deviation are:

Hence we have to solve for n to find the needed sample size, as follows:





n = 126.4.
Rounding up, for a 99% confidence level, a sample size of 127 is needed.
For the 95% confidence interval, we have that z = 1.96, hence:





n = 73.3.
Rounding up, for a 95% confidence level, a sample size of 74 is needed, meaning that a decrease in the confidence level decreases the needed sample size, as M and n are inverse proportional.
More can be learned about the z-distribution at brainly.com/question/25890103
#SPJ1