math arccos for math> math arccos {flags}
--degrees, -d: Return degrees instead of radians| input | output |
|---|---|
| list<number> | list<number> |
| number | number |
Get the arccosine of 1
>1|math arccos
0
Get the arccosine of -1 in degrees
>-1|math arccos-d
180
Tips: Command math arccos was not included in the official binaries by default, you have to build it with --features=extra flag
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/math_arccos.html