qberik

Untitled

Mar 25th, 2022
1,562
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.47 KB | None | 0 0
  1. using System;
  2.  
  3. namespace ylab1
  4. {
  5.   class Program
  6.   {
  7.     static void Main(string[] args)
  8.     {
  9.       double x = 2.444;
  10.       double y = 0.869 * Math.Pow( 10, -2 );
  11.       double z =-0.13 * Math.Pow( 10, 3 );
  12.       double h = ( Math.Pow( x, y + 1 ) + Math.Exp( y - 1 ) ) / ( 1 + x * Math.Abs( y - Math.Tan( z ) ) ) * ( 1 + Math.Abs( y - x ) ) + ( Math.Pow( Math.Abs(y - x ), 2 ) ) / (2) - ( Math.Pow(  Math.Abs(y -x),3 )) / (3)  ;
  13.       Console.WriteLine( h );
  14.     }
  15.   }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment