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.

<strong>Notebooks</strong> and <strong>Documents</strong> 103ToBoxes yields the boxes themselves.In[5]:= ToBoxes@x^2 + y^2, StandardFormDOut[5]= RowBox@8SuperscriptBox@x, 2D, +, SuperscriptBox@y, 2D "Times"DOut[8]= 2 2x + yIf you operate only with one-dimensional structures, you can effectively use ToString to dostring manipulation with formatting functions.This generates a string corresponding to the OutputForm of StringForm.In[9]:=ToString@StringForm@"``^10 = ``", 4, 4^10DD êê InputFormOut[9]//InputForm= "4^10 = 1048576"InputFormstrings corresponding to keyboard inputStandardForm strings or boxes corresponding to standard two-dimen -sional input (default)TraditionalFormstrings or boxes mimicking traditional mathematicalnotationSome forms handled by ToExpression.

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

Saved successfully!

Ooh no, something went wrong!