ФІО = Руденко Віктор Запитання:знайти максимальне значення функції у=х*cos(2sin(x)) на промыжку [0;1] ==================================== ANSWER ==================================== using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Program { static double f(double x) { return ( x * Math.Cos(2 * Math.Sin(x))); } static void Main(string[] args) { double tochnost = 0.0001; double a = 0, b = 1; double max = f(a), max_x = a ; for (double i = a; i <= b; i += tochnost) { if (f(i) > max) { max_x = i; max = f(i); } } Console.WriteLine("Max : f({0}) = {1}", max_x, max); Console.ReadKey(); } } } END of ANSWER ====================================