BB___ATN

=ATN= toc

Description
> This function returns the arc tangent of the given number or expression. > The result is expressed in **radians**. > The opposite is the TAN function.

Syntax

 * 1) ATN(Number)

Hints

 * 1) Most mathematical operations in Just BASIC can be performed on Literal Numbers, Numeric Variables, or Numeric Expressions that consist of Literal Numbers, Numeric Variables, or both.
 * 2) There are 2 * pi radians in a full circle of 360 degrees. A formula to convert degrees to radians is: radians = degrees divided by 57.29577951.
 * 3) Some helpful functions to convert between radians and degrees are available at the ACS function and ASN function pages.

Example
code format="lb" Print ATN(1) Print ATN(0.5) Print ATN(-0.2) Print ATN(-1/2) End code

Useful Functions
code format="lb" ' Place a useful function using this command here code There is very useful function named [|atan2(y,x)], which has own page.