An interior designer needs to know the proportion of assisted living residents who prefer a blue hue on bedroom walls. A random survey of 300 assisted living residents revealed that 240 prefer a blue hue on bedroom walls.
(a) Construct a 95% confidence interval for the proportion of all assisted living residents who prefer a blue hue on bedroom walls.
(b) Give the margin of error E for the 95% confidence interval.