中文字幕一区二区人妻电影,亚洲av无码一区二区乱子伦as ,亚洲精品无码永久在线观看,亚洲成aⅴ人片久青草影院按摩,亚洲黑人巨大videos

Python asin() 函數(shù)

Python 數(shù)字 Python 數(shù)字


描述

asin() 返回x的反正弦弧度值。


語法

以下是 asin() 方法的語法:

import math

math.asin(x)

注意:asin()是不能直接訪問的,需要導(dǎo)入 math 模塊,然后通過 math 靜態(tài)對象調(diào)用該方法。


參數(shù)

  • x : -1 到 1 之間的數(shù)值。如果 x 是大于 1,會產(chǎn)生一個錯誤。

返回值

返回x的反正弦弧度值。


實(shí)例

以下展示了使用 asin() 方法的實(shí)例:

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

以上實(shí)例運(yùn)行后輸出結(jié)果為:

asin(0.64) :  0.694498265627
asin(0) :  0.0
asin(-1) :  -1.57079632679
asin(1) :  1.57079632679

Python 數(shù)字 Python 數(shù)字

其他擴(kuò)展