Advertisement
Mike_be

Michail Bohan

Nov 15th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.46 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include <cmath>
  3. #include <iostream>
  4. #include <iomanip>
  5. #include <complex.h>
  6.  
  7. using namespace std;
  8.  
  9. int main()
  10. {
  11.     cout << setprecision(10);
  12.     long double a, b, x, y, z;
  13.     cout << "Write x: ";
  14.     cin >> x;
  15.     cout << "Write y: ";
  16.     cin >> y;
  17.     cout << "Write z: ";
  18.     cin >> z;
  19.     a = sqrt(sqrt(y*y + cbrt(abs(x)) + 1));
  20.     b = abs(x - y)*(sin(z)*sin(z) + tan(z));
  21.     cout << "a: " << a << "\nb: " << b << endl;
  22.     system("pause");
  23.     return 0;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement