private static double CalculateDenominator2(int waveCount)
        {
            var sum = new Sum();

            for (int i = 1; i < waveCount; i++)
            {
                double a = i;
                double b = waveCount - i + 1;
                sum.Terms.Add(a / b);
            }

            return sum.Value;
        }
 public Numerator()
 {
     S1 = new Sum();
     S2 = new Sum();
     S3 = new Sum();
     S4 = new Sum();
     S5 = new Sum();
 }