ACOS function

Syntax

ACOS (expression)

Description

Use the ACOS function to return the trigonometric arc-cosine of expression. expression must be a numeric value. The result is expressed in degrees. If expression evaluates to the null value, null is returned. The ACOS function is the inverse of the COS function.

Example

PRECISION 5
PRINT "ACOS(0.707106781) = ":ACOS(0.707106781):" 
degrees"

This is the program output:

ACOS(0.707106781) = 45 degrees