Math Component
- 13 Feb 2023
- 1 Minute to read
- Contributors
- Print
- DarkLight
- PDF
Math Component
- Updated on 13 Feb 2023
- 1 Minute to read
- Contributors
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The Math component consists of math operators with their specific functions. They are as follows:
Number Input
This block represents a number when it is given an input.
Input | Output | Block Layout | Generated Code |
---|---|---|---|
Number | Number |
|
Arithmetic Operators
This block is used to perform the Arithmetic operations: Addition (+), Subtraction (-), Multiplication (x), Division, Power (^), and Remainder.
Input | Output | Block Layout | Generated Code |
---|---|---|---|
Variable or Number for all of the operations Choose the type of arithmetic operation from the dropdown list | Number |
|
Advance Operators
The Advance operator blocks perform the following operations:
Input | Output | Block Layout | Generated Code |
---|---|---|---|
Variable or Number for all of the operations Choose the type of Advance operator from the dropdown list | Returns number for all of these operations |
| |
Variable or Number Choose the type of Advance operator from the dropdown list | Returns number for all of these operations |
| |
Variable or Number Choose the type of Advance operator from the dropdown list | Returns boolean (true or false) |
| |
Variable or Number Choose the type of Advance operator from the dropdown list | Returns number for all of these operations |
| |
Variable or Number | Returns number |
| |
Variable or Number | Returns Number |
| |
Variable or Number | Returns Number |
|
Constant Values
In this block, Constant values are provided as inputs to perform operations pertaining to equations.
Input | Output | Block Layout | Generated Code |
---|---|---|---|
Choose any constant from the dropdown list | Returns the number value equal to the constant. |
|
Degree Operators
The Degree operators are used to perform trigonometric operations. They are: sin, cos, tan, arcsin, arccos, and arctan.
Input | Output | Block Layout | Generated Code |
---|---|---|---|
Choose the type of operation Degree value as variable or number | Returns the degree operation result value as a number |
|
Was this article helpful?