Advertisement
Leon3226

Untitled

Sep 11th, 2014
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #include<iostream>
  2. #include<math.h>
  3. using namespace std;
  4. int main()
  5. {
  6. double x, y, z, a, b, c, h;
  7. cout<< "vvedite x:";
  8. cin >> x;
  9. cout << "vvedite y:";
  10. cin >> y;
  11. cout << "vvedite z:";
  12. cin >> z;
  13. a = pow(x, 2 * y) + exp(y - 1);
  14. b = 1 + x*fabs(y - tan(z));
  15. c = 10 * pow(x, 1 / 3.) - log(z);
  16. h = a / b + c;
  17. cout << "Result h= " << h << endl;
  18. _sleep(20000);
  19. return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement