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

MathGroup Archive 2007

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

Search the Archive

Strange behaviour (bug?) in Mathematica 6

  • To: mathgroup at smc.vnet.net
  • Subject: [mg81644] Strange behaviour (bug?) in Mathematica 6
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Sun, 30 Sep 2007 04:02:34 -0400 (EDT)

Evaluating the following three statements with a fresh kernel, in this 
exact order, results in an error message in Mathematica 6.0 (not in 5.2).

In[1]:= Limit[1/x, x -> Infinity]
Out[1]= 0

In[2]:= Exp[Sqrt[x]] + O[x]^2
Out[2]= 1+Sqrt[x]+x/2+x^(3/2)/6+O[x]^2

In[3]:= Sum[x^n/n!, {n, 0, Infinity}]
During evaluation of In[3]:= SeriesData::sdatn: Order specification ___ 
in SeriesData[_,_,{},___] is not a machine-size integer. >>
Out[3]= E^x

Can anyone explain this?  It is very strange that all three (seemingly 
independent) statements need to be evaluated to trigger the error.

-- 
Szabolcs


  • Prev by Date: Re: Flat colour in RegionPlot; millions of little triangles
  • Next by Date: Re: Re: Re: Any Mathematica 6 book yet?
  • Previous by thread: 3D graphics resize unintentionally when rotated
  • Next by thread: Plot3D with NDSolve