Getting inverse sine and inverse hyperbolic sine in Julia – asin(), asinh() and asind() Methods
The asin()
is an inbuilt function in julia which is used to calculate inverse sine of the specified value and output is in radians.
Syntax: asin(x)
Parameters:
Returns: It returns the calculated inverse sine of the specified value and output is in radians.
Example:
println(asin( 0 ))
println(asin( - 0.444 ))
println(asin( 0.7774 ))
println(asin( 1 ))
|
Output:
0.0
-0.46005791377085004
0.8905216904324684
1.5707963267948966
The asinh()
is an inbuilt function in julia which is used to calculate inverse hyperbolic sine of the specified value.
Syntax: asinh(x)
Parameters:
Returns: It returns the calculated inverse hyperbolic sine of the specified value.
Example:
println(asinh( 0 ))
println(asinh( - 0.444 ))
println(asinh( 0.7774 ))
println(asinh( 1 ))
|
Output:
0.0
-0.43057201075559504
0.714923195438084
0.881373587019543
The asind()
is an inbuilt function in julia which is used to calculate inverse sine of the specified value and output is in degrees.
Syntax: asind(x)
Parameters:
Returns: It returns the calculated inverse sine of the specified value and output is in degrees.
Example:
println(asind( 0 ))
println(asind( - 0.444 ))
println(asind( 0.7774 ))
println(asind( 1 ))
|
Output:
0.0
-26.359376790663262
51.02313442663606
90.0
Last Updated :
26 Mar, 2020
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...