For input values between -1 and 1 inclusive, this function returns the angle in radians whose cosine value is the input. This function is the inverse of the cosine function. The value can be a Decimal or Integer literal or a reference to a column containing numeric values.

NOTE: While this function returns values outside of the range -1 <= x <= 1, those values are not considered valid.

For more information on the cosine function, see COS Function.

Arc secant:

The arc secant function is computed as follows:

Input RangeOutput computation
x<=-1acos(1/x)
x>=1acos(1/x)
-1<x<1Not valid

Numeric literal example:

acos(0.5)

Output: Returns the computation of the arc cosine of 0.5. Output value is in radians. 

Column reference example:

acos(X)

Output: Returns the arc cosine of the values in X column.

acos(numeric_value)


ArgumentRequired?Data TypeDescription
numeric_valueYstring, decimal, or integerName of column, Decimal or Integer literal, or function returning those types to apply to the function

numeric_value

Name of the column, Integer or Decimal literal, or function returning that data type to apply to the function.

Required?Data TypeExample Value
YesString (column reference) or Integer or Decimal literal0.5

Example - Trigonometry Arc functions