internal static double GetAveragePower(ChartValues <ObservablePoint> values) { return(Math.Round(MathLogics.Sum(values, v => Math.Pow(v, 2)) / values.Count, 4)); }
internal static double GetVariation(ChartValues <ObservablePoint> values) { return(Math.Round(MathLogics.Sum(values, v => Math.Pow(v - ResultLogics.GetAverage(values), 2)) / values.Count, 4)); }