when solving the equation, it displays the wrong answer: 2.9848, but should be: 1.9873 The following is the code:
Double x = 0.4 * Math.Pow(10.0, 4); Double y = -0.875; Double z = -0.475 * Math.Pow(10.0, -3); Double stepen = 1 + 2 * Math.Pow(Math.Sin(y), 2); Double cosinus = Math.Abs(Math.Cos(x) - Math.Cos(y)); Double vozvedenie_v_stepen = cosinus * stepen; Double Z = 1 + z + (Math.Pow(z, 2)/2) + (Math.Pow(z, 3)/3) + (Math.Pow(z, 4)/4); Double full_formula = vozvedenie_v_stepen * Z; Console.WriteLine(Math.Round(full_formula, 4)); Console.Write("Press any key to continue . . . "); Console.ReadKey(true); Where did I incorrectly decide?

Console.WriteLinedebugged :) - Vadim Ovchinnikov