math arcsin for math

Returns the arcsine of the number.

Signature

> math arcsin --degrees

Parameters

  • --degrees (-d): Return degrees instead of radians

Input/output types:

inputoutput
list<number>list<number>
numbernumber

Examples

Get the arcsine of 1

> 1 | math arcsin
1.5707963267948966

Get the arcsine of 1 in degrees

> 1 | math arcsin -d
90

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