dreieck_test/main.py

8 lines
170 B
Python
Raw Normal View History

2024-01-21 17:57:58 +01:00
#!/usr/bin/python3
from math import sin,cos
def berechne_dreieck(alpha,c):
a = cos(alpha)*c# x
b = sin(alpha)*c# y
return a,b
print(berechne_dreieck(45,100))