Answer:
The margin of of error for a 95% confidence interval for the population mean is of 1.39 years.
Explanation:
We have that to find our
level, that is the subtraction of 1 by the confidence interval divided by 2. So:

Now, we have to find z in the Ztable as such z has a pvalue of
.
That is z with a pvalue of
, so Z = 1.96.
The margin of error is:

In which
is the standard deviation of the population and n is the size of the sample.
Population standard deviation of 3 years
This means that

Sample of 18 voters
This means that

Margin of error:



The margin of of error for a 95% confidence interval for the population mean is of 1.39 years.