13.07.2015 Views

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

64 <strong>Notebooks</strong> and <strong>Documents</strong>Here is the underlying representation of that expression in terms of boxes, displayed using theShow Expression menu item.ToString@expr, formDToBoxes@expr, formDcreate a string representing the specified textual form ofexprcreate a box structure representing the specified textualform of exprCreating strings and boxes from expressions.The Interpretation of Textual FormsToExpression@inputDcreate an expression by interpreting strings or boxesConverting from strings or boxes to expressions.In[1]:=This takes a string and interprets it as an expression.ToExpression@"2 + 3 + xêy"DOut[1]= 5 + x yHere is the box structure corresponding to the textual form of an expression in StandardForm.In[2]:= ToBoxes@2 + x^2, StandardFormDOut[2]= RowBox@82, +, SuperscriptBox@x, 2D

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!