math arcsin for math

Returns the arcsine of the number.

Signature

> math arcsin {flags}

Flags

  • --degrees, -d: Return degrees instead of radians

Input/output types:

input output
list<number> list<float>
number float

Examples

Get the arcsine of 1

> 1 | math arcsin
1.5707963267948966

Get the arcsine of 1 in degrees

> 1 | math arcsin --degrees
90

Tips: Command math arcsin was not included in the official binaries by default, you have to build it with --features=extra flag