The acos() is an inbuilt function in julia which is used to calculate inverse cosine of the specified value and output is in radians.
Syntax: acos(x)
Parameters:
Returns: It returns the calculated inverse cosine of the specified value and output is in radians.
Example:
println(acos(0))
println(acos(-0.444))
println(acos(0.7774))
println(acos(1))
|
Output:
1.5707963267948966
2.0308542405657466
0.6802746363624282
0.0
The acosh() is an inbuilt function in julia which is used to calculate inverse hyperbolic cosine of the specified value.
Syntax: acosh(x)
Parameters:
Returns: It returns the calculated inverse hyperbolic cosine of the specified value.
Example:
println(acosh(2))
println(acosh(10))
println(acosh(74))
println(acosh(45))
|
Output:
1.3169578969248166
2.993222846126381
4.997166616875528
4.499686190671499
The acosd() is an inbuilt function in julia which is used to calculate inverse cosine of the specified value and output is in degrees.
Syntax: acosd(x)
Parameters:
Returns: It returns the calculated inverse cosine of the specified value and output is in degrees.
Example:
println(acosd(0))
println(acosd(-0.444))
println(acosd(0.7774))
println(acosd(1))
|
Output:
90.0
116.35937679066326
38.976865573363945
0.0