ArcCosine Function

Top  Previous  Next

Returns the arc cosine of an angle specified in radians. The range of the result is 0 to PI radians. To convert angle from radians to degrees use RadiansToDegrees function.

 

Short form: "acos".

 

Syntax

 

value = ArcCosine( expression )

 

iParameters

expression

 

any expression that resolves to a valid

cosine range -1 to 1

 

 

 

returns

 

the arc cosine of expression

 

Examples

 

value = ArcCosine( 0 )                         ' Returns 1.570795327

value = ArcCosine( 0.5 )                       ' Returns 1.047197551

value = RadiansToDegrees( ArcCosine( 0.5 ) )   ' Returns 60