Extended Math

 

The Extended Math command performs additional math or trigonometric functions beyond the basic addition, subtraction, multiplication and division found in the Variable Modify Integer or Variable Modify Decimal commands.

 

 

Script Editor > Expand Variables Category > Extended Math

 

 

Math Operation

Select from the ten math or trigonometric operations available.

 

Sin - Sine

Cos - Cosine

Tan - Tangent

ArcSin - ArcSine

ArcCos - ArcCosine

ArcTan - ArcTangent

Abs - Absolute number

Power - Multiply a number by the nth power, such as 2 to the 10th power.

Min - Selects the smaller of two values.

Max - Selects the larger of two values.

 

 

üNote: The trigonometric functions require that the values be in radians  -  (Angle x Pi)/180 = Radians. In most cases, the resulting values of the trigonometric operations will be decimal values.

ArcSin and ArcCos values must be input as integers between 1 and (-1). Otherwise an error message will result.

 

 

Destination Value

Select the variable to store the value of the math operation performed. This variable stores the result of the math operation.

 

 

Value #1

Set the value or select a variable to be used in the math operation.

 

 

Value #2

Set the value or select a variable to be used in the math operation. This is only available for a few of the above operations, those that require two values.