This commit is contained in:
2024-03-31 21:44:11 +03:00
commit e1449cb649
4 changed files with 26 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
from trigonometry import sin
import math
pi = math.pi
print('pi:', pi)
for alpha in [0, pi, pi/2, pi/3, pi/4, pi/6]:
    print(f'For angle: {0 if alpha == 0 else "pi/"+str(int(pi/alpha))}, Sine  is ~ {sin(alpha)}')