Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

Atn

  • Last UpdatedJul 18, 2023
  • 1 minute read

Calculates the trigonometric Arctangent value of a Tangent number.

The Atn function expects the argument (Num) to be a valid tangent value between the range of - Pi/2 to + Pi/2 (representing the ratio of the two sides of a right-angle triangle), and calculates the corresponding angle in radians.

Atn is the inverse trigonometric function of Tan (which takes an angle as its argument, and returns the ratio of two sides of a right-angle triangle). Do not confuse Atn with the Cotangent, which is the inverse of a Tangent (1/tangent).

Syntax

Atn(Num)

Num:

An integer or expression representing a valid numeric value.

Return Value

Returns the Arctangent value of the angle (Num) provided in the argument.

Cos | Sin | Tan

Example

Dim Msg, Pi' Declare variables.
Pi = 4 * Atn(1)' Calculate Pi

In This Topic
TitleResults for “How to create a CRG?”Also Available in