Input

Math

Math Expression

  • Const

  • Input

  • Math

Math Expression

Evaluates a mathematical expression and returns a constant number

Details

ID

input-math-math-expression

Name

Math Expression

Group

Math

Package

Input

Keywords

math
formula
mathematical

Input ports

NameTypeDescriptionDefault Value
x
Number
Numeric input for the expression

Output ports

NameTypeDescription
Number
Number
Resulting constant number from the expression

Config ports

NameTypeDescriptionDefault Value
Expression
String
Mathematical expression to be evaluated

Creation Method

There are three options for creating a Math Expression node.

  1. The first way to create a Math Expression node is by using the search list, which is opened by double left-clicking in the workspace. You can write the name of the node you need or words associated with this node.
  • Keywords: math, formula, mathematical
  1. The second way is to select a Math Expression node from the menu that opens from the top left.
  • Menu > Math > Math Expression
  1. The third way is to create a node using the search list, which is opened by double left-clicking in the workspace. You can write the expression you need, and the node will be created with this expression.

Steps

  1. Create a Math Expression node.
  2. Replace the input area with the desired mathematical expression, and the node will evaluate and return the result.

Example

expression: '2 * x + sin(x)'

See also

Range Input
Select
Text Area Input
Text Input
Boolean
Color Input