Atn

From NSB App Studio
Revision as of 20:17, 8 August 2012 by Brendon (talk | contribs)
Jump to navigation Jump to search

Atn(number)

Description

Atn returns the arctangent of a number in radians. The required parameter, number, is any numeric expression.

To convert degrees to radians, multiply degrees by π/180. To convert radians to degrees, multiply radians by 180/π.

Example

REM Atn Example
'Atn calculates the arctangent of a number
DIM Pi
Pi = Atn(1) * 4
PRINT "The value of pi is " & Pi

Output

The value of pi is 3.141593

Related Items

COS, SIN, TAN