Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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);
        }