3.5.1.2.29 Tan
Contents
Description
The tan(x) function returns value of tangent for each value of the given x. This and other trigonometric functions can take values in radians, degrees, and gradian. The units are determined by (which can also be set in ).
Syntax
double tan(double x)
Parameter
x
- can be any real number.
Return
Returns value of tangent of x.
Example
aa = tan(1); aa = ; //should return -1.5574077246549
See Also
, , , ,