asin()
是 julia 中的一个内置函数,用于计算指定值的反正弦,输出单位为弧度。
Syntax: asin(x)
Parameters:
- x: Specified values.
Returns: It returns the calculated inverse sine of the specified value and output is in radians.
例子:
# Julia program to illustrate
# the use of asin() method
# Getting inverse sine of the specified
# values and output is in radians.
println(asin(0))
println(asin(-0.444))
println(asin(0.7774))
println(asin(1))
输出:
0.0
-0.46005791377085004
0.8905216904324684
1.5707963267948966
asinh()
是 julia 中的一个内置函数,用于计算指定值的反双曲正弦值。
Syntax: asinh(x)
Parameters:
- x: Specified values.
Returns: It returns the calculated inverse hyperbolic sine of the specified value.
例子:
# Julia program to illustrate
# the use of asinh() method
# Getting inverse hyperbolic sine of the
# specified values.
println(asinh(0))
println(asinh(-0.444))
println(asinh(0.7774))
println(asinh(1))
输出:
0.0
-0.43057201075559504
0.714923195438084
0.881373587019543
asind()
是 julia 中的一个内置函数,用于计算指定值的反正弦,输出以度为单位。
Syntax: asind(x)
Parameters:
- x: Specified values.
Returns: It returns the calculated inverse sine of the specified value and output is in degrees.
例子:
# Julia program to illustrate
# the use of asind() method
# Getting inverse sine of the specified
# values and output is in degrees.
println(asind(0))
println(asind(-0.444))
println(asind(0.7774))
println(asind(1))
输出:
0.0
-26.359376790663262
51.02313442663606
90.0