Tan

Description

Returns the tangent of an angle.

Category

Mathematical functions

Syntax


Tan(number) 

See also

Atn, ASin, Cos, Sin, and Pi

Parameters

Parameter
Description
number
Angle, in radians, for which you want the tangent. If the angle is in degrees, multiply it by PI()/180 to convert it to radians.

Example

<!--- This example shows Tan --->

<html>

<head>

<title>

Tan Example

</title>

</head>



<body>

<H3>Tan Example</H3>



<P>Returns the tangent of a given angle.



<P>Tan(1): <cfoutput>#Tan(1)#</cfoutput>

<P>Tan(Pi()/4): <cfoutput>#Tan(Pi()/4)#</cfoutput>



</body>

</html> 





Banner.Novgorod.Ru