HP 3000 Manuals

ACS [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

ACS 

The ACS function returns the principal value of the arc cosine of a
number.  The argument value will be in the range of [-1, 1].  The result
can be expressed in angular units of degrees, grads, or radians.

Syntax 

ACS(n)

Parameters 

n                The number to be evaluated.  n is a REAL number.

The ACS function returns a REAL number.

Examples 

     10  A = ACS(0.5)     !A = 60.00 (degrees)
     20  B = ACS(0.5)     !B = 66.67 (grads)
     30  C = ACS(0.5)     !C = 1.05  (radians)



MPE/iX 5.0 Documentation