Dear writer, I am afraid that you have the formulas for standard deviation and variance switched. Variance equals the square of standard deviation. This error propagates to the formulas for the standard of deviation of populations and samples later on. Thank you