Untitled

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> #include <string> #include <cmath> #include <math.h> using namespace std; void task13() { cout << "(cos(x) / pi - x) + 16x * cos(x * y) - 2"; cout << "\n\n"; double x = 0, y = 0, pi = 3.14; cout << "Input X:"; cin >> x; if (pi-x == 0) { cout << "\n\nNo Answer at X = " << x; } else { y = (cos(x) / pi - x) + 16 * x * cos(x * y) - 2; cout << "Y( " << x << ") = " << y; } } int main() { task13(); }
Editor Settings
Theme
Key bindings
Full width
Lines