ФІО = Саня Пынчук Запитання:Ваше запитаня знайти корень уравнения y=cos(1+sin(x)) на промежутку [1;3] ==================================== ANSWER ==================================== using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication16 { class Program { static double f(double x) { return Math.Cos(1 + Math.Sin(x)); } static void Main(string[] args) { double a=1,b=3; int rootcount=0; double tochnost=0.0001; for (double x = a; x <= b; x += tochnost) { if (Math.Abs(f(x)) <= 0.00004) { rootcount++; Console.WriteLine("x = {0}",x); } } if (rootcount == 0) { Console.WriteLine("Nety koreniv"); } Console.ReadKey(); } } } END of ANSWER ====================================