Mathematical Functions

All mathematical functions return a numeric result and only accept numeric arguments.

The $FACOS Function

\textbf{{\char36}FACOS}\textbf{(}\icamhsp{0.707mm}\mathit{n}\icamhsp{0.707mm}\textbf{)}

Arc cosine (degrees)

Returns: Numeric

The $FACOS function returns the arc cosine of the argument n. The resulting value is in degrees. The argument must be between –1 and 1 inclusive.

The $FASIN Function

\textbf{{\char36}FASIN}\textbf{(}\icamhsp{0.707mm}\mathit{n}\icamhsp{0.707mm}\textbf{)}

Arc sine (degrees)

Returns: Numeric

The $FASIN function returns the arc sine of the argument n. The resulting value is in degrees. The argument must be between –1 and 1 inclusive.

The $FATAN Function

\textbf{{\char36}FATAN}\textbf{(}\icamhsp{0.707mm}\mathit{n}\icamhsp{0.707mm}\textbf{)}

Arc tangent (degrees)

Returns: Numeric

The $FATAN function returns the arc tangent of the argument n. The resulting value is in degrees.

The $FATAN2 Function

\textbf{{\char36}FATAN2}\textbf{(}\icamhsp{0.707mm}\mathit{n_{1}},\mathit{n_{2}}\icamhsp{0.707mm}\textbf{)}

Arc tangent (degrees) given 2 arguments

Returns: Numeric

The $FATAN2 function returns the arc tangent of the expression n1/n2. The resulting value will be greater than –180 degrees and less than or equal to 180 degrees. If the value of n1 is positive, the result is positive. When the value of n1 is zero, the result will be zero if n2 is positive and 180 degrees if n2 is negative. If the value of n2 is zero, the absolute value of the result will be 90 degrees. Both n1 and n2 must not be zero.

The $FCOS Function

\textbf{{\char36}FCOS}\textbf{(}\icamhsp{0.707mm}\mathit{n}\icamhsp{0.707mm}\textbf{)}

Cosine (degrees)

Returns: Numeric

The $FCOS function returns the cosine of the argument n. The argument must be given in degrees.

The $FEXP Function

\textbf{{\char36}FEXP}\textbf{(}\icamhsp{0.707mm}\mathit{n}\icamhsp{0.707mm}\textbf{)}

Exponential

Returns: Numeric

The $FEXP function returns the exponential constant e raised to the power of the argument n.

The $FLN Function

\textbf{{\char36}FLN}\textbf{(}\icamhsp{0.707mm}\mathit{n}\icamhsp{0.707mm}\textbf{)}

Natural logarithm

Returns: Numeric

The $FLN function returns the natural logarithm (base e) of the argument n.

The $FLOG Function

\textbf{{\char36}FLOG}\textbf{(}\icamhsp{0.707mm}\mathit{n}\icamhsp{0.707mm}\textbf{)}

Common logarithm

Returns: Numeric

The $FLOG function returns the decimal logarithm (base 10) of the argument n.

The $FSIN Function

\textbf{{\char36}FSIN}\textbf{(}\icamhsp{0.707mm}\mathit{n}\icamhsp{0.707mm}\textbf{)}

Sine (degrees)

Returns: Numeric

The $FSIN function returns the sine of the argument n. The argument must be given in degrees.

The $FSQRT Function

\textbf{{\char36}FSQRT}\textbf{(}\icamhsp{0.707mm}\mathit{n}\icamhsp{0.707mm}\textbf{)}

Square root

Returns: Numeric

The $FSQRT function returns the square root of n. The argument must be greater than or equal to zero.

The $FTAN Function

\textbf{{\char36}FTAN}\textbf{(}\icamhsp{0.707mm}\mathit{n}\icamhsp{0.707mm}\textbf{)}

Tangent (degrees)

Returns: Numeric

The $FTAN function returns the tangent of the argument n. The argument must be given in degrees.