ATN2()

From Lianjapedia
Jump to: navigation, search

Purpose

Function to return the angle size for the specified cosine and sine values of a given point

Syntax

ATN2(<expN1>, <expN2>)

See Also

ACOS(), ASIN(), ATAN(), COS(), DTOR(), EXP(), LOG(), LOG10(), PI(), RTOD(), SET DECIMALS, SET FIXED, SIN(), TAN()

Description

The ATN2() function returns the angle size, in radians, for the specified cosine and sine values of a given point. <expN1> and <expN2> represent the cosine and sine values, respectively. The angle size is returned as a numeric in radians. The SET DECIMALS command determines the number of decimals displayed in the returned angle size.

Example

set decimals to 4
?atn2(0.5000,0.8660)
    0.5236

Products

Lianja Server, Lianja