cos() \ Language (API) \ Wiring ALPHA 1.0
Author: Hernando Barragán
Description: Wiring is an electronic sketchbook and hardware electronics for developing ideas. It is a context for learning fundamentals of computer programming and prototyping with electronics within the context of the electronic arts.
Keywords: Wiring, Processing, Interactive Media, Electronic Arts, Programming, C, C++, Hernando Barragán

Search wiring.org.co:

Reference for Wiring version 0024+. 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 | ### 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 |
angle | float: an angle measured in radians (PI to -PI)
Returns | float
Usage | Web & Application
Related | acos() asin() atan() atan2() cos() cosh() hypot() sin() sinh() tan() tanh() radians() degrees()

Updated on January 11, 2010 09:41:50pm PST