SinnerMooN

Untitled

Sep 24th, 2020
878
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2.  
  3. namespace Lab_2
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             double x, a, b , c, d, e, F, g;
  10.             x = 0.85;
  11.  
  12.             a = (Math.Pow(Math.Sin(x), 4) * Math.Pow(x, 2)) * Math.Pow(x, 2) + Math.Pow(x, 2) / x;
  13.             b = (Math.Pow(x, 4) + (0.96 * x) - 1) / (Math.Pow(x, 4) + Math.Pow(x, 3) - 2.37);
  14.             c = Math.Cos(x) - a - b;
  15.             d = Math.Pow(c, 3);
  16.             e = Math.Pow(Math.Sin(x), 2) + d + Math.Sqrt(x);
  17.             F = Math.Pow(e, 4);
  18.             Console.WriteLine("F={0:0.000}", F);
  19.             Console.ReadLine();
  20.         }
  21.     }
  22. }
RAW Paste Data