Knowledgebase:
MathCos
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 09 July 2017 03:59 PM

Syntax

Public Function MathCos(Number As Double)As Double

This function is used to return the cosine value for a given angle.

Parameters

Key Description 
Number The angel value to get the cos,value of type Double.

Return value

Returns the cosine of the specified angle as a numeric value of type double.

Sample

Public Sub main()

AlertMessage (MathCos(0)) ' Cos (0) = 1 . the Alert Message will return 1 

'pi = 3.1415926535 cosine function takes values from ( 0 to pi/2 )

End Sub


See Also


Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions