ACOS()

ACOS(V)

RETURNS THE INVERSE COSINE (ARCCOSINE) OF V

  • Type: Function
  • Parameter: 1
  • Group: Mathematics

ACTION

The function ACOS(V) returns the angle the cosine of which is V.

The result is expressed in radians and is the range [0..Pi].

V can be a real or integer number and must be between -1 and 1.

This function is the inverse function of cosine (COS).

SYNTAX: Result=ACOS(V)

  • V = real or integer value.

USE

  • The function ACOS() is used to calculate the arccosine of a value comprised between -1 and 1.

ERROR

  • If V is greater than 1.
  • If V is less than -1.
  • If V is not a correct expression.

EXAMPLE

print acos(0.512)

print "Result = 1.03328481966524"

SEE ALSO

ASIN()

ATN()

COS()

HCOS()

HSIN()

HTAN()

SIN()

TAN()