Inverse Cosine (Expression Function)

Purpose

The Inverse Cosine function (ACOS) is used to calculate the inverse, arc, cosine in radians, degrees, or gradians.

Parameters

The Inverse Cosine function has two parameters, the first of which is required:

Value

Allowed Inputs: field value or number

The first required parameter is the value that the inverse cosine will be obtained from either use the use the Query Builder to choose a field that contains the value or use type a value to enter a number.

Angle Unit

Allowed Inputs: omitted, 'd', 'g'

The second parameter of the Inverse Cosine function is the unit of the output angle. If the angle unit is omitted or not recognized then radians will be be used. For an angle provided in degrees use 'd'. For an angle provided in gradians use 'g'. If the angle unit needs to be dynamically stored in a field then the advanced expression builder will need to be used.

Output

The output of the Inverse Cosine function is a number representing the arc cosine of the angle in radians, degrees, or gradians.

Example

For example ACOS(0.707106781187) is “0.785398163397”, ACOS(40.5142342271,'d') is “45”, and ACOS(45.0158158079,'g') is “50”.

expression function - inverse cosine.txt · Last modified: 2016/09/14 18:19 (external edit)
Copyright WorkXpress, 2024