Getting inverse tangent and inverse hyperbolic tangent in Julia – atan(), atanh() and atand() Methods
The atan()
is an inbuilt function in julia which is used to calculate inverse tangent of the specified value and output is in radians.
Syntax: atan(x)
Parameters:
Returns: It returns the calculated inverse tangent of the specified value and output is in radians.
Example:
println(atan( 0 ))
println(atan( - 0.444 ))
println(atan( 0.7774 ))
println(atan( 1 ))
|
Output:
0.0
-0.41785313434757676
0.6608077411382699
0.7853981633974483
The atanh()
is an inbuilt function in julia which is used to calculate inverse hyperbolic tangent of the specified value.
Syntax: atanh(x)
Parameters:
Returns: It returns the calculated inverse hyperbolic tangent of the specified value.
Example:
println(atanh( 0 ))
println(atanh( - 0.45 ))
println(atanh( 0.5 ))
println(atanh( - 0.896 ))
|
Output:
0.0
-0.48470027859405174
0.5493061443340548
-1.4515553918367974
The atand()
is an inbuilt function in julia which is used to calculate inverse tangent of the specified value and output is in degrees.
Syntax: atand(x)
Parameters:
Returns: It returns the calculated inverse tangent of the specified value and output is in degrees.
Example:
println(atand( 0 ))
println(atand( - 0.444 ))
println(atand( 0.7774 ))
println(atand( 1 ))
|
Output:
0.0
-23.941221054429125
37.861494636796294
45.0
Last Updated :
26 Mar, 2020
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...