lab1 | OOP

1
2
3
4
5
from math import cos, sin
alpha, beta = float(input("Введите alpha: ")), float(input("Введите beta: "))
z1, z2 = (sin(alpha) + cos(2 * beta - alpha)) / (cos(alpha) - sin(2 * beta - alpha)), (1 + sin(2 * beta)) / cos(2 * beta)
print("z1:", z1, "\n", "\rz2:", z2)
input()