Related Articles

Related Articles

Getting inverse sine and inverse hyperbolic sine in Julia – asin(), asinh() and asind() Methods
  • Last Updated : 26 Mar, 2020

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:



filter_none

edit
close

play_arrow

link
brightness_4
code

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

chevron_right


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:

filter_none

edit
close

play_arrow

link
brightness_4
code

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

chevron_right


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:

filter_none

edit
close

play_arrow

link
brightness_4
code

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

chevron_right


Output:

0.0
-26.359376790663262
51.02313442663606
90.0



My Personal Notes arrow_drop_up
Recommended Articles
Page :