ee.Number.asin

Computes the arcsine in radians of the input.
Usage Returns
Number. asin () Number
Argument Type Details
this: input
Number 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) 

Python setup

See the Python Environment page for information on the Python API and using geemap for interactive development.

 import 
  
 ee 
 import 
  
 geemap.core 
  
 as 
  
 geemap 

Colab (Python)

 # The domain of arcsine is [-1,1], inputs outside the domain are invalid. 
 print 
 ( 
 'Arcsine of -1:' 
 , 
 ee 
 . 
 Number 
 ( 
 - 
 1 
 ) 
 . 
 asin 
 () 
 . 
 getInfo 
 ()) 
 # -1.570796326 (-π/2) 
 print 
 ( 
 'Arcsine of 0:' 
 , 
 ee 
 . 
 Number 
 ( 
 0 
 ) 
 . 
 asin 
 () 
 . 
 getInfo 
 ()) 
 # 0 
 print 
 ( 
 'Arcsine of 1:' 
 , 
 ee 
 . 
 Number 
 ( 
 1 
 ) 
 . 
 asin 
 () 
 . 
 getInfo 
 ()) 
 # 1.570796326 (π/2) 
Create a Mobile Website
View Site in Mobile | Classic
Share by: