【发布时间】:2021-07-29 05:54:57
【问题描述】:
我正在尝试在 python 中将值转换为 sin、cos、tan、arctan。
有人可以帮我在 python 中编写一个函数来将 -1/2 转换为 Sin(-Pi/6)
非常感谢
【问题讨论】:
-
print(math.radians(-1/2))? -
谢谢,但我希望结果是 -1/2 = Sin(-Pi/6)
标签: python python-3.x numpy math trigonometry