#include
#include
using namespace std;
int main ()
{
float e=exp(1.0);
const double PI =3.141592653589793238463;
double x, y=0;
double a = -2*PI;
int b = 0;
cout << "Enter value for x: ";</p>
cin >> x;
if (x < a)
{
cout << "Error! Invalid value X!";</p>
}
if (x > b)
{
cout << "Error! Invalid value X!";</p>
}
if (x <= -PI) </p>
{
y = log(cos(5*x)-2*x)+1;
cout <<"y = " << y <<endl;</p>
}
if (x > -PI)
{
y = 0,35*tan(0.1*x)-2*pow(e,-0.1*x);
cout << "y = " << y <<endl;</p>
}
return 0;
}