acos(Variable) Function

Top 

Description

Computes the inverse cosine of the specified value.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

 

Function Signature

acos(

Variable x)

 

 

Arguments

x


Description:

The value whose inverse cosine will be returned.

Valid Range:

-1 ≤ x ≤ 1

 

 

 

Return Value

Type:

number

Units:

rad

 

 

The inverse cosine of the specified value.

 

Syntax

myVariable1 = acos(myVariable2);

 

 

Example 1

 

 

See also

acos