Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- using namespace std;
- int main()
- {
- double s, x, y, z, a, b, c, d;
- cout << "Enter X: " << endl;
- cin >> x;
- cout << "Enter Y: " << endl;
- cin >> y;
- cout << "Enter Z: " << endl;
- cin >> z;
- a = pow(y, pow(abs(x), 1./3.));
- b = pow(cos(y), 3);
- c = abs(x - y) * (1.0 + (pow(sin(z), 2)/pow((x+y), 1./2.)));
- d = exp(abs(x-y)) + x/2.;
- s = a + (b*(c/d));
- cout << s << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement