# "MathExpression"(Interpreter Type)

Mathematical expression in natural language.

# Allowed Forms

• Any free-form mathematical expression.

# Restriction Specifications

•  Restricted["MathExpression",{{choice1,…}}] one among choices Restricted["MathExpression",symbols] an expression involving only the given symbols (All, Automatic, or an explicit list) Restricted["MathExpression",symbols,contexts] an expression involving only the given symbols or symbols in the given contexts (All, Automatic, or an explicit list) Restricted["MathExpression",symbols,contexts,resultcontext] an expression involving only the given symbols or symbols in the given contexts, where the new symbols are created in resultcontext

# Interpretation

• "MathExpression" yields a representation of the expression in the Wolfram Language.

# Examples

## Basic Examples(7)

Interpret mathematical expressions:

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=
 In[3]:=
 Out[3]=

The expression is evaluated:

 In[1]:=
 Out[1]=

Restrict to a list of choices:

 In[1]:=
 Out[1]=

By default, all symbols are allowed. Restrict to a list of allowed symbols:

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=

By default, new symbols are created in \$Context, but a custom context can be specified:

 In[1]:=
 Out[1]=
 Out[1]=
 In[2]:=
 Out[2]=
 Out[2]=

Specify contexts for the allowed and output symbols:

 In[1]:=
 Out[1]=
 Out[1]=

Prevent the creation of any new symbol:

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=