acos()
Returns the angle whose cosine is the specified number (the inverse operation of cos()) .
Syntax
acos(x)
Arguments
- x: A real number in range [-1, 1].
Returns
- The value of the arc cosine of
x nullifx< -1 orx> 1
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Returns the angle whose cosine is the specified number (the inverse operation of cos()) .
acos(x)
xnull if x < -1 or x > 1