% LMex050303_4th
% Written by Eugene.Gallagher@umb.edu
% Larsen & Marx (2006) Introduction to Mathematical Statistics, 4th ed.
% page 372
% Written 3/4/11
n=1002;ME=norminv(0.975)/(2*sqrt(n))*100;
fprintf('The margin of error is %3.1f%%\n',ME)