Cos - method of the Pm object
Description:
Returns the cosine of an angle.
Syntax:
Double Cos(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 nSecant = 1 / Pm.Cos(nAngle);
Dim nAngle
nAngle = 1.3
Dim nSecant
nSecant = 1 / Pm.Cos(nAngle)