ACos Procedure

Returns the arccosine of dx.

Syntax

[ dResult = ] ACos ( dx )

The ACos procedure syntax has the following parts:

 

Name

Type

Description

dResult

Double

Result

dx

Val Double

Input value in radians

Comments

This procedure returns the arccosine of dx in radians in the range of 0 to PI. To convert the result from radians to degrees, multiply it by 180/PI. Legal values for dx are 0 or between -1 and 1.

Example

dx = 0

df = ACos(dx)*180/PI

! now df is 90.0... and dx is 0

See Also

ASin, ATan, Cos, CosH, PI, Sin, SinH, Tan, TanH