< Day Day Up > |
Cos()Category: Trigonometric Syntax: Cos ( number ) Parameters: number ”any expression that resolves to a numeric value that represents an angle measured in radians. Description: Returns the cosine of the angle represented by the value of the parameter, measured in radians. Cos is a periodic function with a range from -1 to 1. Examples: Cos (0) = 0 Cos (Pi / 4) = .707106781 (which is 1 / Sqrt (2)) Cos (Radians (60)) = .5 Comments : In any right triangle, the cosine of the two non-right angles can be obtained by dividing the length of the side adjacent to the angle by the length of the hypotenuse . You can convert an angle measured in degrees into radians by using the Radians() function, or by multiplying the value by Pi / 180. 1 radian is slightly more than 57 degrees. |
< Day Day Up > |