evage

В-3 зд 1. Вычислить значение ф-ии

Sep 19th, 2021 (edited)
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. #include <iostream>
  2. #include <math.h>
  3. #define func(t,z,y) 6 * t * t - (z + 1) / (y * y)
  4.  
  5. using namespace std;
  6. int main() {
  7.     const double y = 2, z = 4;
  8.     double t = sin(2 + z);
  9.     cout << func(t, z, y);
  10.     return 0;
  11. }
Add Comment
Please, Sign In to add comment