Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.
Name  cos() 


Description  Calculates the cosine of an angle. The cos() function expects the values of the angle parameter to be provided in radians (values between 0 and 6.28). Values are returned in the range 1 to 1.  
Syntax  cos(angle)


Parameters 


Returns  float  
Usage  Web & Application  
Related  acos() asin() atan() atan2() cos() cosh() hypot() sin() sinh() tan() tanh() radians() degrees() 