Scalar Expression


With this node, you can combine or modify scalar quantities and output any scalar resulting from the arithmetic operation.


The node has the following input:

  • Scalars ($a$, $b$, $c$ etc.): It inputs scalar quantities from other nodes 


In the content text-field, an arithmetic operation is defined to combine or modify the scalar quantities.


  • Scalar ($a$): The scalar resulting from the arithmetic operation of the scalar inputs. 


In the example below, the Scalar Expression node calculates the difference between the first two eigenstates of an infinite well. This tells us the energy spacing between the states of a particular system. Moreover, the energy spacing between any higher states can also be calculated and for any other potential (example: harmonic oscillator, finite well) as well.