math tan
for math> math tan {flags}
--degrees, -d
: Use degrees instead of radiansinput | output |
---|---|
list<number> | list<number> |
number | number |
Apply the tangent to π/4
>3.141592/4|math tan|math round--precision4
1
Apply the tangent to a list of angles in degrees
> [-45045] |math tan-d
╭───┬───────╮
│0│-1.00│
│1│0.00│
│2│1.00│
╰───┴───────╯
Tips: Command math tan
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_tan.html