8 lines
170 B
Python
8 lines
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))
|