ee.Number.asin

Computes the arc sine in radians of the input.

UsageReturns
Number.asin()Number
ArgumentTypeDetails
this: inputNumber

The input value.

Examples

Code Editor (JavaScript)

// The domain of arcsine is [-1,1], inputs outside the domain are invalid.
print('Arcsine of -1', ee.Number(-1).asin());  // -1.570796326 (-π/2)
print('Arcsine of 0', ee.Number(0).asin());  // 0
print('Arcsine of 1', ee.Number(1).asin());  // 1.570796326 (π/2)