ZX BASIC:TAN

From BorielWiki
Jump to: navigation, search

Contents

TAN

Syntax

 
SIN(numericExpression)

Description

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

Examples

 
REM Tangent value
PRINT "Tangent value of a is "; SIN(a)

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.

See also

  • SIN and ASN
  • COS and ACS
  • ATN
  • Faster library option for lower accuracy trigonometry for games: FTAN
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox
Translate
Google AdSense