Navigation:  thinBasic Modules > Math > Trigonometric function >

ATAN2

Previous pageReturn to chapter overviewNext page

 

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