26.12.2012 Views

ICAM Virtual Machine V19 - Kxcad.net

ICAM Virtual Machine V19 - Kxcad.net

ICAM Virtual Machine V19 - Kxcad.net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.4.5.2 Mathematical Functions<br />

$FACOS Arc cosine (degrees)<br />

$FASIN Arc sine (degrees)<br />

$FATAN Arc tangent (degrees)<br />

$FATAN2 Arc tangent (degrees) given 2 arguments<br />

$FCOS Cosine (degrees)<br />

$FEXP Exponential<br />

$FLN Natural logarithm<br />

$FLOG Common logarithm<br />

$FSIN Sine (degrees)<br />

$FSQRT Square root<br />

$FTAN Tangent (degrees)<br />

<strong>Virtual</strong> <strong>Machine</strong> Reference, Model Customization<br />

Simulation Macro Functions, Mathematical Functions<br />

All mathematical functions return a numeric result and only accept numeric arguments.<br />

The $FACOS Function<br />

result=$FACOS(n)<br />

This function returns the arc cosine of the argument n. The resulting value is in degrees. The<br />

argument to $FACOS must be between -1 and 1 inclusive.<br />

The $FASIN Function<br />

result=$FASIN(n)<br />

This function returns the arc sine of the argument n. The resulting value is in degrees. The<br />

argument to $FASIN must be between -1 and 1 inclusive.<br />

The $FATAN Function<br />

result=$FATAN(n)<br />

This function returns the arc tangent of the argument n. The resulting value is in degrees.<br />

The $FATAN2 Function<br />

result=$FATAN2(n1,n2)<br />

This function returns the arc tangent of the expression n1/n2. The resulting value will be greater<br />

than -180 degrees and less than or equal to 180 degrees. If the value of n1 is positive, the result is<br />

positive. When the value of n1 is zero, the result will be zero if n2 is positive and 180 degrees if<br />

n2 is negative. If the value of n2 is zero, the absolute value of the result will be 90 degrees. Both<br />

n1 and n2 must not be zero.<br />

<strong>ICAM</strong> Technologies Corporation – Proprietary 153

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!