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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Notebooks</strong> and <strong>Documents</strong> 79BaseForm@expr,bDprint with all numbers given in base bPrinting numbers in other bases.In[23]:=This prints a number in base 2.BaseForm@2 342 424, 2DOut[23]//BaseForm= 1000111011111000011000 2In[24]:=In bases higher than 10, letters are used for the extra digits.BaseForm@242 345 341, 16DOut[24]//BaseForm= e71e57d 16In[25]:=BaseForm also works with approximate real numbers.BaseForm@2.3, 2DOut[25]//BaseForm= 10.010011001100110011 2In[26]:=You can even use BaseForm for numbers printed in scientific notation.BaseForm@2.3 µ 10^8, 2DOut[26]//BaseForm= 1.1011011010110000101 2 µ 2 27"Digits in Numbers" discusses how to enter numbers in arbitrary bases, and also how to getlists of the digits in a number.Tables and MatricesColumn@listDGrid@listDTableForm@listDtypeset as a column of elementstypeset as a grid of elementsprint in tabular formFormatting lists as tables and matrices.Here is a list.In[1]:= Table@Hi + 45L^j, 8i, 3

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

Saved successfully!

Ooh no, something went wrong!