Calculate the required sample size for surveys and research studies with confidence intervals and margin of error