ATAN2

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Math > Trigonometric function >

ATAN2

 

Description

 

Computes the arctangent of y / x given y and x.

 

Syntax

 

n = ATAN2(y, x)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

y

Number

No

The y-coordinate of the point.

x

Number

No

The x-coordinate of the point.

 

Remarks

 

Restrictions

 

See also

 

Examples