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

AVEVA™ Plant SCADA

Tan

  • Last UpdatedJul 18, 2023
  • 1 minute read

Calculates the trigonometric Tangent value of an angle. The Tan function expects the argument (Rad) to be a valid angle value in radians, and calculates the ratio of two sides of a right-angle triangle. The ratio is the length of the side opposite to the angle divided by the length of the side adjacent to the angle.

Note: To convert degrees to radians, multiply degrees by Pi/180. To convert radians to degrees, multiply radians by 180/Pi.

Syntax

Tan(Rad)

Rad:

An angle expressed in radians. Must be a valid numeric value.

Return Value

Returns the Tangent value of the angle (Rad) provided in the argument. Tan will return as a double.

Example

Variable=Tan(1); ! Sets Variable to 1.5574...

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