Statistical Estimation
When you cannot survey a whole population, statistical estimation uses a single sample to guess the range where the population mean is likely to lie. Since the sample mean wobbles around the population mean with a spread of σ/√n, you attach a margin of error on either side of that sample mean to build a confidence interval. Raising the confidence level to 95% makes the z value bigger and widens the interval, while enlarging the sample narrows it, a genuine trade-off. Move the sample-size n and confidence-level sliders and the interval widens and narrows; 95% confidence is not the probability that the population mean lies in this particular interval.