A survey of mining companies is to be conducted to estimate p,the proportion of companies that anticipate hiring engineers duringthe coming year. (a) How large a sample isrequired to estimate p to within 0.04 with 95% confidence?(b) A sample of 500 yields 105 companies that planto hire such engineers. Give the 95% confidence interval for p.