This commit is contained in:
2025-02-05 22:21:01 +09:00
commit 99d50d64fc
2 changed files with 19 additions and 0 deletions

19
lab1/main.cpp Normal file
View File

@@ -0,0 +1,19 @@
#include <iostream>
#include <cmath>
using namespace std;
int main() {
//int z1 = 0;
//int z2 = 0;
int a = 0;
cout << "Введите a: ";
cin >> a;
cout << "z1 = " << (1 - 2 * pow(sin(a), 2)) / (1 + sin(2 * a)) << endl;
cout << "z2 = " << (1 - tan(a)) / (1 + tan(a)) << endl;
return 0;
}

BIN
lab1/out Executable file

Binary file not shown.