Answer:
(a) The confidence interval is: 0.0304 ≤ π ≤ 0.0830.
(b) Upper confidence bound = 0.0787
Step-by-step explanation:
(a) The confidence interval for p (proportion) can be calculated as


NOTE: π is the proportion ot the population, but it is unknown. It can be estimated as p.

For a 95% two-sided confidence interval, z=±1.96, so

The confidence interval is: 0.0304 ≤ π ≤ 0.0830.
(b) The confidence interval now has only an upper limit, so z is now 1.64.

The confidence interval is: -∞ ≤ π ≤ 0.0787.