dreieck_test/main.py
2024-01-21 17:57:58 +01:00

8 lines
No EOL
170 B
Python

#!/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))