#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
int main()
{
setlocale(LC_ALL, "rus");
double a, b, c, x,z;
cout << "Введите х" << endl;
cin >> x;
a = log10(5);
b = cos((2 * M_PI) / 3);
c = exp(-sqrt(2));
if (x > c)
z = pow(log(1.5 * x), 2) + log(abs(b - a * c));
}
else
if (x < c)
z = asin((b * pow(c, 2)) / (sqrt(pow(a, 2) + pow(x, 2;
else z = sqrt(pow(x, 2) + pow(c, 2)) - (1 / tan(b * a));
cout << z << endl;
system("pause");
return 0;
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
int main()
{
setlocale(LC_ALL, "rus");
double a, b, c, x,z;
cout << "Введите х" << endl;
cin >> x;
a = log10(5);
b = cos((2 * M_PI) / 3);
c = exp(-sqrt(2));
if (x > c)
{
z = pow(log(1.5 * x), 2) + log(abs(b - a * c));
}
else
{
if (x < c)
{
z = asin((b * pow(c, 2)) / (sqrt(pow(a, 2) + pow(x, 2;
}
else z = sqrt(pow(x, 2) + pow(c, 2)) - (1 / tan(b * a));
}
cout << z << endl;
system("pause");
return 0;
}