A medical researcher wants to construct a 90% confidence interval for the proportion of knee replacement surgeries that result in complications.

(a) An article in a medical journal suggested that approximately 10% of such operations result in complications. Using this estimate, what sample size is needed so that the confidence interval will have a margin of error of 0.04?

(b) Estimate the sample size needed if no estimate of p is available.