我正在尝试确定半径为 r 的圆上的点 x,y,我想对其应用参数方程,如下所述: https ://www.mathopenref.com/coordparamcircle.html
import math
radius = 45
t = 10
x = radius*math.cos(t)
y = radius*math.sin(t)
对于 x 和 y,我得到以下输出:
x
Out[217]: 5.253219888177298
y
Out[218]: 8.509035245341185
我不明白为什么。据我了解,如果 r 为 45,x 和 y 应该具有相同的值。知道吗?