An expression is an operational relationship between variables, and the evaluation of an expression is the process of assigning a value to a variable and then calculating the result.
There are two ways to get the values for an expression in Mathematica.
The first is to assign a value directly to the corresponding variable, so that the corresponding expression will be evaluated directly at the time of invocation.
Changes the value of the variable, and the value of the expression itself changes accordingly.
However, there is a disadvantage to this, that is, the relationship of the expression is covered by the value of itself, through ?
to get the relationship between the expression
The second method is to assign a variable to an expression by replacing it with a variable. His grammar rules are as follows:
This substitution is temporary, and the expression itself does not overwrite the value
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Mathematica expression Evaluation