Trigonometric and Hyperbolic functions
The following list contains the functions that you can use to calculate trigonometric and hyperbolic values.
acos(x)
This function computes the arc cosine of x
, in the interval [0, pi]
radians. The valid input domain for x
is [-1, 1]
. If x
is outside this domain, the behavior is undefined
.
Example
This example returns 1.5707963267948966
.
... | eval n=acos(0)
The following example converts the acos(0)
from radians to degrees. This example returns 90.0000000003
.
... | eval degrees=acos(0)*180/pi()
acosh(x)
This function computes the arc hyperbolic cosine of x
radians. The valid input domain for x
is [1, ∞)
. If x
is less than 1, the behavior is undefined
.
Example
This example returns 1.3169578969248166
.
... | eval n=acosh(2)