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

Analytics and Notifications for PI System Explorer (PI Server 2018)

Sec

  • Last UpdatedJan 11, 2023
  • 1 minute read

Return the trigonometric secant of a number.

Syntax

Sec(x)

Arguments

  • x

    Must be an integer or real number, which represents an angle in radians

Returns

The secant of x

Exceptions

If x is not a number, returns an error value

Example

  • Sec(1)

    [Returns 1.8508]

  • Sec(1.1)

    [Returns 2.2046]

  • Sec('att1')

    [Return the trigonometric secant of the value of 'att1' at time of evaluation]

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