Tan - method of the Pm object
Description:
Returns the tangent of an angle.
Syntax:
Double Tan(Double nAngle)
Parameters:
nAngle | (Double) Angle in radians. The degrees can be transferred into radians by multiplying the input value by 0.017453293 (=2*Pi/360). |
---|
Example:
JavaScriptVBScriptSelect and copy to clipboard
var nAngle = 1.3;
var nCosecant = 1 / Pm.Tan(nAngle);
Dim nAngle
nAngle = 1.3
Dim nCosecant
nCosecant = 1 / Pm.Tan(nAngle)