Z+ stands for a positive integer
Generally speaking, S2 =1/n [(x1-m) 2+(x2-m) 2+...+(xn-m) 2].
(where m = average value of m =Xi.
i= 1,2,…,n)