Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Cos - function of language VBScript

Description:
Returns the cosine of an angle.

For the purposes of PROMOTIC system, it is more usefull to use the method: Pm.Cos.

Syntax:
Cos(number As Double) As Double
Calling:
n = Cos(number)
Parameters:
number(Double) Angle in radians. The degrees can be transferred into radians by multiplying the input value by 0.017453293 (=2*Pi/360).
Example:
Dim nAngle, nSecant
nAngle = 1.3 'define angle in radians
nSecant = 1/Cos(nAngle) 'calculate secant
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice