FAQ
 
 
Cover  \ Exhibition  \ Learning  \ Reference  \ Download  \ Discourse   
      Language \ Environment \ Libraries \ Comparison
 
   
   
Abridged (A-Z) \ Complete (A-Z)  
   
  Reference for Processing (BETA) version 91+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.  
Name  

asin()

   
Examples  
float a = PI/3; 
float s = sin(a); 
float as = asin(s); 
// Prints "1.0471976 : 0.86602545 : 1.0471976" 
println(a + " : " + s + " : " +  as); 


float a = PI + PI/3.0; 
float s = sin(a); 
float as = asin(s); 
// Prints "4.1887903 : -0.86602545 : -1.0471976" 
println(a + " : " + s + " : " +  as); 

Description   The inverse of sin(), returns the arc sine of a value. This function expects the values in the range of -1 to 1 and values are returned in the range 0 to PI (3.1415927).
   
Syntax  
asin(value)
   
Parameters  
value   float: numbers between -1 and 1

   
Returns   float
   
Usage   Web & Application
   
Related   sin()
acos()
atan()
 
 






   
 
Updated: Fri Jul 15 16:35:30 PDT 2005
 
 








Creative Commons License
 
  Processing is an open project initiated by Ben Fry and Casey Reas  
  © Info