Computing variance for group data
1. Get the total frequency (n)
3. Calculate f*x (frequency * class mark)
4. Get the mean (sum of f*x / n)
5. Calculate (class mark - mean)^2
6. Multiply each (class mark - mean)^2 by the frequency
7. Sum the f*(class mark - mean)^2
8. Divide the sum by (n-1) to get the variance