The Math folder in the control block palette contains blocks that perform mathematical functions on one or more inputs, producing a single output. The number of inputs to a Math block depends on the number of inputs supported by the type of math function. The Logic View allows you to add multiple connections to the output of the block.
The Math primitive provides the following reliability values: Math Overflow, Math Underflow, Divide by zero, Not a number, Math Error.
Type |
Description |
Inputs (Float) 1 |
Outputs (Float)1 |
---|---|---|---|
Absolute Value |
Absolute Value |
I1 |
Present Value |
ACOS 2 |
Arc Cosine |
I1 |
Present Value |
Add |
Add |
I1 I2 |
Present Value |
ASIN2 |
Arc Sine |
I1 |
Present Value |
ATAN2 |
Arc Tangent |
I1 |
Present Value |
COS2 |
Cosine |
I1 |
Present Value |
Divide |
Divide (I1/I2) |
I1 I2 |
Present Value |
Exp |
Exponent (el1) |
I1 |
Present Value |
LOG |
Natural Log (LN, LOGe, or LOG base e) |
I1 |
Present Value |
LOG10 |
LOG10 |
I1 |
Present Value |
Multiply |
Multiply |
I1 I2 |
Present Value |
Negate |
Negative |
I1 |
Present Value |
Power |
Power (I1I2) |
I1 I2 |
Present Value |
Round |
Rounds to nearest 1s |
I1 |
Present Value |
SIN2 |
Sine |
I1 |
Present Value |
SQRT |
Square Root |
I1 |
Present Value |
Subtract |
Subtract |
I1 I2 |
Present Value |
TAN2 |
Tangent |
I1 |
Present Value |