math arccos for math
Returns the arccosine of the number.
Signature
> math arccos {flags}
Flags
-
--degrees, -d: Return degrees instead of radians.
Input/output types:
| input | output |
|---|---|
| number | float |
| list<number> | list<float> |
Examples
Get the arccosine of 1
> 1 | math arccos 0.0
Get the arccosine of -1 in degrees
> -1 | math arccos --degrees 180.0
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/math_arccos.html