private void Button7_Click(object sender, EventArgs e)
        {
            var Dict = DictY_s();
            var form = new FunctionForm(Dict, new[] { "x", "y_xi" }, "3");

            form.Show();
        }
 private void Button13_Click(object sender, EventArgs e)
 {
     try
     {
         var intDict = MakeIntervalDict();
         var tmpDict = FindEmpiricFunction(intDict);
         var form    = new FunctionForm(tmpDict, new[] { "I", "F*(x)" }, "2");
         form.Show();
     }
     catch
     {
         return;
     }
 }
        private void Button9_Click(object sender, EventArgs e)
        {
            var    tmpDict = new SortedDictionary <double, double>();
            var    N       = Dict.Sum(x => x.Value);
            double sum     = 0;
            double last    = 0;

            foreach (var i in Dict)
            {
                tmpDict[i.Key] = sum;
                sum           += i.Value / N;
                last           = i.Key;
            }
            tmpDict[last + 10] = sum;
            var form = new FunctionForm(tmpDict, new[] { "x", "F*(x)" }, "1");

            form.Show();
        }