Advertisement
evgenko

Untitled

Dec 27th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. #include <iostream>
  2. #include <math.h>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.   float x,b,a,y=0.02;
  8.   cout << "Enter x: ";
  9.   cin >> x;
  10.   cout << "Enter b: ";
  11.   cin >> b;
  12.   cout << "Enter a: ";
  13.   cin >> a;
  14.   float res = (sin(2*x-b*b)-7*a*y*y)/(pow(x,4)+1) - (sqrt(cos(y)-5*pow(y,6)))/(6-cos(y));
  15.   cout << res;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement