ACS

BASin

ACS Arc CoSine

Function

ACS calculates the value of an angle from its cosine.

How to use ACS

ACS is followed by a numeric value. An expression must be enclosed in brackets, for example

60 LET x=ACS (y*z)

The value following ACS (y*z above) is the cosine of the required angle and may range from -1 to 1. ACS the returns the value of the angle in radians. To convert radians to degrees, multiply the value returned by ACS by 180/PI.

Example

The command

PRINT 180/PI * ACS 0.5

displays 60, the angle in degrees that has a cosine of 0.5.

Format

  • ACS num-const
  • ACS num-var
  • ACS (num-expr)

See also

Chapter 10.