//№8
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
double x;
double y;
double result;
double q;
cout << "x =";
cin >> x;
cout <<endl<< "y =";
cin >> y;
if ((cos(x) / sin(x) == 3, 14) && (cos(x) > 1) && (cos(x) < 1))
{
cout <<endl<< "Данное значение переменной запрещено условием уравнения" << endl;
}
else
{
result = pow((1 - (sin(x) / cos(x))), (cos(x) / sin(x))) + cos(x - y);
cout << endl << "Ответ" << result << endl;
}
return 0;
}