include iostream include math using namespace std int main int argc ch

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <iostream>
#include <math>
using namespace std;
int main(int argc, char* argv[])
{
float x, y, kor, eps = pow(10, -3);
cout << "x = ";
cin >> x;
cout << "y = ";
cin >> y;
if(fabs(x) > 1)
kor = -exp(x) + pow(x, 4);
else
kor = pow(acos(pow(x, 4)), 2);
if(fabs(kor - y) < eps)
cout << "Tochka lezhyt na kryvi.";
else
cout << "Tochka ne lezhyt na kryvi.";
system("PAUSE");
return 0;
}
//---------------------------------------------------------------------------