| |
|
|
 |
| |
Functions
The Math Plugin uses Microsoft
VBscript rules and syntax to solve expressions: When several operations
occur in an expression, each part is evaluated and resolved in a predetermined
order called operator precedence. Parentheses can be used to override
the order of precedence and force some parts of an expression to be evaluated
before other parts. Operations within parentheses are always performed
before those outside. Within parentheses, however, normal operator precedence
is maintained. Arithmetic operators are evaluated in the following order
of precedence:
|
|
| |
Arithmetic Operators:
Exponentiation
Multiplication
Division
Integer Division
Modulus
Addition
Subtraction
|
x ^ y
x * y
x / y
x \ y
x Mod y
x + y
x - y
|
|
| |
When multiplication and division occur together in an expression, each
operation is evaluated as it occurs from left to right. Likewise, when
addition and subtraction occur together in an expression, each operation
is evaluated in order of appearance from left to right.
|
|
| |
Arithmetic Functions
Absolute value
Square root
Integer
Random
|
Abs(X)
Sqr(x)
Int(X)
Rnd[(x)]
|
|
| |
Constants
|
PI
|
|
| |
Variables
Separate Definitions by ","
|
A=10, B=20, ...
|
|
| |
Trigonometric Functions
workes with radians.
Convert degree to radians:
|
Rad(X)
|
|
| |
Arctangent
Sine
Cosine
Tangent
Secant
Cosecant
Cotangent
Inverse Sine
Inverse Cosine
Inverse Secant
Inverse Cosecant
Inverse Cotangent
Hyperbolic Sine
Hyperbolic Cosine
Hyperbolic Tangent
Hyperbolic Secant
Hyperbolic Cosecant
Hyperbolic Cotangent
Inverse Hyperbolic Sine
Inverse Hyperbolic Cosine
Inverse Hyperbolic Tangent
Inverse Hyperbolic Secant
Inverse Hyperbolic Cosecant
Inverse Hyperbolic Cotangent
|
Atn(X)
Sin(X)
Cos(X)
Tan(X)
Sec(X)
Cosec(X)
Cotan(X)
Arcsin(X)
Arccos(X)
Arcsec(X)
Arccosec(X)
Arccotan(X)
HSin(X), SinH(X)
HCos(X),CosH(X)
HTan(X), TanH(X)
HSec(X)
HCosec(X)
HCotan(X)
HArcsin(X)
HArccos(X)
HArctan(X)
HArcsec(X)
HArccosec(X)
HArccotan(X)
|
|
| |
Logarithmic Functions
Natural Logarithm
Logarithm to base N
Exponent
|
Log(X)
LogN(X)
Exp(X)
|
|
| |
|
|
|
|
© 3DE <
^ >
|