Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1995
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

"unChopping" oddity explained--Thanks

  • To: mathgroup at christensen.cybernetics.net
  • To: mathgroup at christensen.cybernetics.net
  • Subject: [mg796] "unChopping" oddity explained--Thanks
  • From: Preston Nichols <pdn at godel.math.cmu.edu>
  • Date: Wed, 19 Apr 1995 00:47:34 -0400

I thank David Withoff for his answer to my about the "mysterious"  
extra digits.  (My initial puzzlement arose from a failure to  
realize that Graphics3D was not the culprit, but rather the  
difference between InputForm and OutputForm.  I thank E. Lange for  
pointing my attention in the correct direction.)

The phenomenon of "accumulated representation error" can be  
displayed in Mathematica very simply, as follows:

In[11]:= Table[t, {t,0,5,0.2}]

Out[11]= {0, 0.2, 0.4, 0.6, 0.8, 1., 1.2, 1.4, 1.6, 1.8, 2., 2.2,  
2.4, 2.6,

>    2.8, 3., 3.2, 3.4, 3.6, 3.8, 4., 4.2, 4.4, 4.6, 4.8, 5.}

In[12]:= %//InputForm

Out[12]//InputForm=
  {0, 0.2, 0.4, 0.6000000000000001, 0.8, 1., 1.2, 1.4, 1.6, 1.8,  
2., 2.2,
   2.4, 2.6, 2.8, 3., 3.200000000000001, 3.400000000000001,
   3.600000000000001, 3.800000000000001, 4.000000000000001,
   4.200000000000001, 4.400000000000002, 4.600000000000002,
   4.800000000000002, 5.000000000000002}





Preston Nichols
Department of Mathematics
Carnegie Mellon University


  • Prev by Date: Selection of sublist using Cases
  • Next by Date: Re:Re: re: automatic MatrixForm
  • Previous by thread: Re: Selection of sublist using Cases
  • Next by thread: Re:Re: re: automatic MatrixForm