COS

This command will return the cosine of value were the value is in degrees between 0 and 360.

  Syntax
Return Float=COS(Value)
  Parameters
Value
Float
This value is a float number such as 0.5

  Returns

This value is a float number such as 0.5

  Description

The value can be a real or integer number. The return value is a real number.

  Example Code
FOR A=0 TO 360
DOT 320+(COS(A)*100),240+(SIN(A)*100)
NEXT A
WAIT KEY
  See also

CORE Commands Menu
Index