latest
Math
Math Expression

Evaluates a mathematical expression and returns a constant number

ID

662af3e510b6cb87640c92f4

Name

Math Expression

Group

Math

Package

Input

Keywords

math
formula
mathematical

Const

Input

Math

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

Inputs

NameTypeDescriptionDefault Value
x
Number
Numeric input for the expression

Outputs

NameTypeDescription
value
Number
Resulting constant number from the expression

Config Ports

NameTypeDescriptionDefault Value
expression
String
Mathematical expression to be evaluated