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> 75Here is p 9 to 30 decimal places.In[5]:= N@Pi^9, 30DOut[5]= 29 809.0993334462116665094024012In[6]:=This prints just 10 digits of p 9 .NumberForm@%, 10DOut[6]//NumberForm= 29809.09933This gives 12 digits, in engineering notation.In[7]:= EngineeringForm@%, 12DOut[7]//EngineeringForm=29.8090993334 µ 10 3option namedefault valueDigitBlock Infinity maximum length of blocks of digitsbetween breaksNumberSeparator 8","," "< strings to insert at breaks between blocksof digits to the left and right of a decimalpointNumberPoint "." string to use for a decimal pointNumberMultiplier "î@TimesD" string to use for the multiplication sign inscientific notationNumberSigns 8"-",""< strings to use for signs of negative andpositive numbersNumberPadding 8"",""< strings to use for padding on the left andrightSignPadding False whether to insert padding after the signNumberFormat Automatic function to generate final format of numberExponentFunction Automatic function to determine the exponent to useOptions for number formatting.All the options in the table except the last one apply to both integers and approximate realnumbers.All the options can be used in any of the functions NumberForm, ScientificForm,EngineeringForm and AccountingForm. In fact, you can in principle reproduce the behavior ofany one of these functions simply by giving appropriate option settings in one of the others.The default option settings listed in the table are those for NumberForm.

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

Saved successfully!

Ooh no, something went wrong!