Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<cmath>
- using namespace std;
- int main()
- {
- float x, y;
- cout << "Write x" << endl;
- cin >> x;
- if ( (x=-1) || (x= 1))
- cout << "error" << endl;
- else
- {
- y = ((log(pow(pow(x, 2), 2) - 1)*log(1 + x)));
- cout << "y=" << y << endl;
- }
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement