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