In a random sample of 400 measurements, 227 possess the characteristic of interest, $\mathrm{A}$.
a. Use a $95 \%$ confidence interval to estimate the true proportion $p$ of measurements in the population with characteristic $\mathrm{A}$.
b. How large a sample would be needed to estimate $p$ to within .02 with $95 \%$ confidence?