Skip to content

SIN

SIN(numericExpression)

Returns the sine value of the given argument. Argument must be a numeric expression in radians units. Returned value type is float.

REM Sine value
PRINT "Sine value of a is "; SIN(a)
  • 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.
  • COS and ACS
  • TAN and ATN
  • ASN
  • Faster library option for lower accuracy trigonometry for games: FSIN