S
S
sashka_amelin322020-04-24 17:07:25
C++ / C#
sashka_amelin32, 2020-04-24 17:07:25

How to implement code in a C# program so that the user himself can enter some function f (x)?

double x0, x1,e;
            Console.WriteLine("Введите функцию...");

            Console.WriteLine("Введите начало числового промежутка...");
            x0 = double.Parse(Console.ReadLine());
            Console.WriteLine("Введите конец числового промежутка...");
            x1 = double.Parse(Console.ReadLine());
            Console.WriteLine("Введите точность корня...");
            e = double.Parse(Console.ReadLine());


Let's say the user enters such data, but how to make it possible for him to enter a function for this data?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question