Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
лаб1
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64 #include <iostream> #include <math.h> using namespace std; int main() { float x, y, a, b, l; cout << "x="; cin >> x; cout << "y="; cin >> y; cout << "a="; cin >> a; cout << "b="; cin >> b; cout << "t="; cin >> t; float A = (sin(5 * X)) + (tan(x * x))); float B = (2 * x + 3 * y * y - sin(3 * x); float C = 2 * x + 3 * y * y - sin(3 * x); float D = 4 * sqrt(fabs(cos(3 * b) - 2 * sin(b))); float E = sqrt(fabs(sin(y * y) / (2 * cos(2 * y)))) + 2 * fabs(tan(y) - 25) float F = -2 * cos(x * x) + 2 * pow(y, 7); float G = sqrt(fabs(1 - (2 / (x * x)))) + fabs(pow(x, 5) - 3 * x); float H = (fabs(2 * a + tan(3 * a))) / (sqrt(fabs(1 + pow(b, 8))) +11); float Y = (pow(e, -bt) * sin(a * t) + b))) - (sqrt(fabs(b * t + a))) float S = b * sin(a * t * t * (cos(2 * t)) - 1); cout << " " << endl; cout << "A=" << A <<endl; cout << "B=" << B <<endl; cout << "C=" << C <<endl; cout << "D=" << D <<endl; cout << "E=" << E <<endl; cout << "F=" << F <<endl; cout << "G=" << G <<endl; cout << "H=" << H <<endl; cout << " " << endl; cout << "Вариант 4 " << endl; cout << " " << endl; cout << "Y=" << A <<endl; cout << "S=" << A <<endl; cin >> l; return 0; }
run
|
edit
|
history
|
help
0
Typed enum implicitly casted to integer
cv3
10dan büyük mü küçük mü
Waiting for Multiple Objects
Thing
Strings
Regex success
map_file_mangling
Say if number is prime and give its factors
std::string