float Maths.Tan(float radians)
Calculates the tangent of the specified angle (in radians).
To convert an angle in degrees to radians, use Maths.DegreesToRadians.
Example:
float tan = Maths.Tan(Maths.DegreesToRadians(45.0));
calculates the tan of 45 degrees (which is 1.0) and places it into variable tan.
See Also: Maths.ArcTan,
Maths.DegreesToRadians,
Maths.Cos, Maths.Sin,
|