Arctan
Arctan ( number ) : Real
Parameter | Type | Description | |
---|---|---|---|
number | Real | → | Tangent for which to calculate the angle |
Function result | Real | ← | Angle in radians |
Description
Arctan returns the angle, expressed in radians, of the tangent number.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
Properties
Command number | 20 |
Thread safe | ✓ |