#include #include #include #include double mean(double set[], int set_n) { double sum = 0.0; for(int i=0; i= 0.0); return fabs(x-c) < epsilon; } double sample_variance(double set[], int set_n) { double m = mean(set, set_n); double ss = 0.0; for (int i=0; i