//clang 6.0.0 #include #include using namespace std; int main() { setlocale (LC_ALL, "rus"); float x, a=0.5, b=0.8, s; const float e=2.71; cout << "Введите x= "; cin >> x; cout << endl; if ((x<=1) && (x>=-1 )) { s=(pow(e,-a*x)*cos(x))+(pow(e,-b*x)*sin(x)); cout <<"S="<< s; } else cout <<"Вычисление невозможно"; return 0; }