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