## Effect Overview

Math 1 allows for the creation of simpler mathematical equations and functions to be applied across variables and or user inputs.

Math 1 can be found under the Utility section of the Effects Browser. ### Effect Controls

1. Value A or "a": [ Default 0 ] [ USER INPUT ]

• The value can either be connected to other effects values or used as a value in the math's operations.

2. Value B or "b": [ Default 0 ] [ USER INPUT ]

• The value can either be connected to other effects values or used as a value in the math's operations

3. Result or "r": [ RESULT OF OPERATIONS ]

4. Operator: [ Default Add ] [ Dropdown ]

\$a + b = r\$

• Subtract

\$a - b = r\$

• Multiply

\$a * b = r\$

• Divide

• Mod " Modulo Operation"

a mod b = r

• The modulo operation returns the remainder or signed remainder of a division after one number is divided by another

• Below are examples of the math occurring with mod selected

a is the dividend, b is the divisor (or modulus), and r is the remainder.

 aModba / b = xx*b = ya - y = r 3Mod23/2 = 1.51 x 2 = 23 - 2 = 1r = 1 11Mod411/4 = 1.52 x 4 = 811 - 8 = 3r = 3 1123.32Mod423.541123.32/423.54 = 2.6522 x 423.54 = 847.081123.32 - 847.08 = 276.24r = 276.24
• Pow "multiplying a number by itself."

• a^b = r

3^3 = 27

• Min

• Takes the lowest number between A or B

• If A = 2 and B = 3 then result is 2

• If A = 5 and B = 1 then result is 1

• Max

• Takes the highest number between A or B

• If A = 7 and B = 5 then result is 7

• If A = 34 and B = 51 then result is 51