atan

Returns the arctangent of the specified number.

Syntax

atan(x)

Parameters

Parameter

Type

Description

x

number

Numeric value

Return

Returns y such that x = tan(y).

Examples

Python

import math
x = 2
y = math.atan(x)

NexScript

x = 2
y = atan(x)