Quick actions

cmd+k|ctrl+k

Navigation

Languages

13

Snippet info

Language

Cpp

Visibility

public

Author

brodsm1487

Created

2018-09-26T07:22:02Z

Updated

2018-09-26T07:22:44Z

#include <iostream>
#include <cmath>
using namespace std;

int main() {
    float x,y,a;
    const double PI = 3.14159265;
    cin >> x >> y ;
    if (x==PI/2) 
        cout << "Решений нет";
        else { a=(((cos(x))/PI-2*x)+16*x*cos(x*y)-2);
        cout <<a;}
    return 0;
}
INFO