With this node, you can combine or modify scalar quantities and output any scalar resulting from the scalar arithmetic operation.
The node has the following input:
In the content text-field, an arithmetic operation is defined to combine or modify the scalar quantities.
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 this system. Moreover, the energy spacing between any higher states can also be calculated, and the potential can be modified to calculate the energy spacing between states in other systems as well.