COS
Syntax
Section titled “Syntax”COS(numericExpression)
Description
Section titled “Description”Returns the cosine value of the given argument. Argument must be a numeric expression in radians units. Returned value type is float.
Examples
Section titled “Examples”REM Cosine valuePRINT "Cosine value of a is "; COS(a)
Remarks
Section titled “Remarks”- This function is 100% Sinclair BASIC Compatible
- If the given argument type is not float, it will be converted to float before operating with it.