A doctor at a local hospital is interested in estimating the birth weight of infants. How large a sample must she select if she desires to be $90\%$ confident that her estimate is within $2$ ounces of the true mean? Assume that $\sigma =4.9\ $ounces and that birth weights are normally distributed.
Why did they get 17?
Consider the distribution of sample mean of birth weight from $n$ samples. This distribution is normal and has a same mean as birth weight, and has a standard deviation of $\sigma\over\sqrt n$.
We would like to find minimum $n$ such that $$P(\text{true mean}-2<\text{sample mean of birth weight}<\text{true mean}+2)\ge90\%$$ By normalising to standard normal distribution, $$\begin{align} P\left(\frac{-2}{\sigma/\sqrt n}<Z<\frac{2}{\sigma/\sqrt n}\right)\ge& 90\%\\ \frac{2}{\sigma/\sqrt n}>&1.64\\ n>&16.144 \end{align}$$ Therefore the answer takes $n=17$.