Esempio n. 1
0
        private void AdamsButton_Click(object sender, RoutedEventArgs e)
        {
            var           data = GetInputData();
            List <double> x;
            List <double> y;
            Function      func = new SampleFunction(data.A, data.M);

            GetAdamsSolves(func, data, out x, out y);
            DrawGraphic(x.ToArray(), y.ToArray(), Colors.Gold, "Адамса", 1.5);
        }
Esempio n. 2
0
        private void AdamsButton_Click(object sender, RoutedEventArgs e)
        {
            var data = GetInputData();
            List<double> x;
            List<double> y;
            Function func = new SampleFunction(data.A, data.M);

            GetAdamsSolves(func, data, out x, out y);
            DrawGraphic(x.ToArray(), y.ToArray(), Colors.Gold, "Адамса",1.5);
        }
Esempio n. 3
0
        private void EulerButton_Click(object sender, RoutedEventArgs e)
        {
            var           data = GetInputData();
            List <double> x;
            List <double> y;

            Function func = new SampleFunction(data.A, data.M);

            GetEulerSolves(func, data, out x, out y);
            DrawGraphic(x.ToArray(), y.ToArray(), Colors.Green, "Эйлер", 1);
        }
Esempio n. 4
0
        private void KytButton_Click(object sender, RoutedEventArgs e)
        {
            var           data = GetInputData();
            List <double> x;
            List <double> y;

            Function func = new SampleFunction(data.A, data.M);

            GetRungeKytSolves(func, data, out x, out y);
            DrawGraphic(x.ToArray(), y.ToArray(), Colors.Red, "Рунге-Кутт", 1);
        }
Esempio n. 5
0
        private void EulerMButton_Click(object sender, RoutedEventArgs e)
        {
            var           data = GetInputData();
            List <double> x;
            List <double> y;

            Function func = new SampleFunction(data.A, data.M);

            GetEulerMSolves(func, data, out x, out y);
            DrawGraphic(x.ToArray(), y.ToArray(), Colors.Blue, "Эйлер модиф.", 1);
            FillValueListBox(x, y);
        }
Esempio n. 6
0
        private void EulerButton_Click(object sender, RoutedEventArgs e)
        {
            var data = GetInputData();
            List<double> x;
            List<double> y;

            Function func = new SampleFunction(data.A,data.M);

            GetEulerSolves(func, data, out x, out y);
            DrawGraphic(x.ToArray(), y.ToArray(), Colors.Green, "Эйлер", 1);
        }
Esempio n. 7
0
        private void KytButton_Click(object sender, RoutedEventArgs e)
        {
            var data = GetInputData();
            List<double> x;
            List<double> y;

            Function func = new SampleFunction(data.A, data.M);
            GetRungeKytSolves(func, data, out x, out y);
            DrawGraphic(x.ToArray(), y.ToArray(), Colors.Red, "Рунге-Кутт", 1);
        }
        private void EulerMButton_Click(object sender, RoutedEventArgs e)
        {
            var data = GetInputData();
            List<double> x;
            List<double> y;

            Function func = new SampleFunction(data.A, data.M);
            GetEulerMSolves(func, data, out x, out y);
            DrawGraphic(x.ToArray(), y.ToArray(), Colors.Blue, "Эйлер модиф.", 1);
            FillValueListBox(x, y);
        }