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:
- x: Specified values.
Returns: It returns the calculated inverse sine of the specified value and output is in radians.
Example:
# 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 )) |
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:
- x: Specified values.
Returns: It returns the calculated inverse hyperbolic sine of the specified value.
Example:
# 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 )) |
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:
- x: Specified values.
Returns: It returns the calculated inverse sine of the specified value and output is in degrees.
Example:
# 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 )) |
Output:
0.0 -26.359376790663262 51.02313442663606 90.0
Please Login to comment...