python math.asin
生活随笔
收集整理的這篇文章主要介紹了
python math.asin
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
?
import math
math.asin(x)
x : -1 到 1 之間的數值。如果 x 是大于 1,會產生一個錯誤。
?
#!/usr/bin/python
import math
print "asin(0.64) : ", math.asin(0.64)
print "asin(0) : ", math.asin(0)
print "asin(-1) : ", math.asin(-1)
print "asin(1) : ", math.asin(1)
輸出
asin(0.64) : 0.694498265627
asin(0) : 0.0
asin(-1) : -1.57079632679
asin(1) : 1.57079632679
?
https://www.runoob.com/python/func-number-asin.html
轉載于:https://www.cnblogs.com/sea-stream/p/11159644.html
總結
以上是生活随笔為你收集整理的python math.asin的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 元贝驾考科目一电脑版下载(元贝考驾照科目
- 下一篇: python中__init__.py的作