Expression Syntax

SysCalc expressions consist of OPERATORS and OPERANDS.

OPERATORS - a mathematical symbol specifying a particular operation to be performed on the OPERANDS to its left and right. Certain mathematical OPERATORS bind OPERANDS more tightly together than others. For example, in the expression Ref1*Ref2+Ref3, the "*" binds Ref1 and Ref2 more tightly together than "+" binds the Ref2 and Ref3 together; hence, the multiplication will be performed first.

OPERANDS - Each expression may employ numbers and/or reference other component parameters and Program Functions. Each number and reference is called an OPERAND.

Listed below are the available OPERATORS and their binding precedence in decreasing order:
 

()   parentheses
@   ampersand - separator for magnitude and angle ( polar notation )
^   exponentiation - raises preceding number to the power given by the following number
* /   multiplication and division respectively
+ -   addition and subtraction respectively

MATH Functions

The following MATH Functions may be incorporated in expressions. Each function accepts a single argument or expression. In the table below, exp is any valid mathematical expression.

NAME   Definition
COS   COS(exp), cosine
COSH   COSH(exp), hyperbolic cosine
DB   20*LOG10(exp)
EXP   EXP(exp), exponential
LN   LN(exp), natural logarithm
LOG   LOG10(exp),
MAG   mag(exp), absolute value
SIN   SIN(exp), sine
SINH   SINH(exp), hyperbolic
SQRT   SQRT(exp)
TAN   TAN(exp), tangent
TANH   TANH(exp), hyperbolic tangent

Note - exp is in radians for all trigonometric and hyperbolic functions