Skip to main content
Version: Next

Arctan

Arctan ( number ) -> Function result

ParameterTypeDescription
numberReal🡒Tangent for which to calculate the angle
Function resultReal🡐Angle in radians

Description

Arctan returns the angle, expressed in radians, of the tangent number.

Note: 4D provides the predefined constants Pi, Degree, and Radian. Pi returns the Pi number (3.14159...), Degree returns one degree expressed in radians (0.01745...), and Radian returns one radian expressed in degrees (57.29577...).

Example

The following example shows the value of Pi:

 ALERT("Pi is equal to: "+String(Arctan(1)*4))

See also

Cos
Sin
Tan