Previous Topic: Absolute ValueNext Topic: Arc Sine


Arc Cosine

The arc cosine functions return the arc cosine (inverse sign) of a numeric value that represents an angle in either degrees or radians.

The single floating point operand returned expresses the angle accurate to decimal places in the range zero to 180 for degrees and zero to p for radians.

Syntax:

►►─┬─ ACOSR ─────────────┬─ (value) ──────────────────────────────────────────►◄
   ├─ ARCCOSRAD ─────────┤
   └─ ARCCOSINE-RADIANS ─┘

►►─┬─ ACOSD ─────────────┬─ (value) ──────────────────────────────────────────►◄
   ├─ ARCCOSDEG ─────────┤
   └─ ARCCOSINE-DEGREES ─┘

Invocation names:

ACOSD                ACOSR
ARCCOSDEG            ARCCOSRAD
ARCCOSINE-DEGREES    ARCCOSINE-RADIANS

Parameters:

(value)

Specifies the numeric value representing the angle, in degrees or radians, whose arc cosine is calculated. Value must be a value ranging from -1 to +1.

Example:

This example uses the arc cosine (degrees) function to calculate the cosine of -0.5:

compute 'Arc Cosine'= acosd(-0.5)

  Arc Cosine = 120