realanton12345

Task1

Jan 18th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.44 KB | None | 0 0
  1. #include <iostream>
  2. #include <stdlib.h>
  3. #include <iomanip>
  4. #include <cmath>
  5.  
  6. using namespace std;
  7.  
  8. int main()
  9. {
  10.     cout << "LR 1" << endl;
  11.  
  12.     double s = 0;
  13.  
  14.     double x = 3.981 * pow (10.0, -2.0);
  15.     double y = -1.625 * pow (10.0, 3.0);
  16.     double z = 0.512;
  17.  
  18.     s = pow(2.0, -1.0 * x) * sqrt(x + pow(fabs(y), 1.0 / 4.0)) * pow(pow(exp(1.0), x - 1.0 / sin(z)), 1.0 / 3.0);
  19.  
  20.     cout << s << endl;
  21.  
  22.     system("pause");
  23. }
Add Comment
Please, Sign In to add comment