Framework (A-Z)

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

tan()

Description Calculates the tangent of an angle. The tan() function expects the values of the angle parameter in radians. The tangent of an angle is the ratio of the sine and cosine. Values are returned in the range infinity to -infinity.
Syntax
tan(angle)
Parameters
angle float: an angle measured in radians
Returns float
Usage Application
Related acos()
asin()
atan()
atan2()
cos()
cosh()
hypot()
sin()
sinh()
tan()
tanh()
radians()
degrees()
Updated on July 07, 2011 11:09:13pm PDT

Creative Commons License