LEGO 【MINDSTORMS】EV3
Math Block
Math Block - Overview -
The Math block does a math calculation on its inputs, and outputs the result.
You can do a simple math operation with one or two inputs, or enter a formula with up to four inputs.
Choose the math operation you want to use by selecting a mode with the Mode Selector.
After selecting the mode, you can choose values for the inputs. The inputs available will change depending on the mode.