Equinox Online Help - Language Reference - A to Z
Cos |
|
---|---|
Applies to | |
Syntax | Cos(NumberExpression) |
Action | [Function] Returns the cosine of an angle |
Scope | Usable anywhere |
Notes | This function returns the cosine of the argument, NumberExpression. Note that NumberExpression is an angle and Equinox requires that you should express it in radians rather than degrees (360º = 2p radians). |
Category | Maths |
See Also | Abs, Acos, Asin, Atan, Cos, Deg, Int, Log, Max, Min, MinMax, Rad, Rnd, RndStart, Round, Sign, Sin, Sqrt |
Example | s example calculates the length of the side adjacent to the angle A in a right-angled triangle. number A, RadA, adjacent, hypotenuse |