Re: how to explain this weird effect? Integrate

*To*: mathgroup at smc.vnet.net*Subject*: [mg46541] Re: how to explain this weird effect? Integrate*From*: nma124 at hotmail.com (steve_H)*Date*: Sun, 22 Feb 2004 11:27:50 -0500 (EST)*References*: <20040218182324.673$gV@newsreader.com> <c11se0$nkq$1@smc.vnet.net> <c14738$4bt$1@smc.vnet.net> <c16mc3$5q1$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

"David W. Cantrell" <DWCantrell at sigmaxi.org> wrote in message news:<c16mc3$5q1$1 at smc.vnet.net>... > drbob at bigfoot.com (Bobby R. Treat) wrote: > > I agree with Andrzej; > > > Example: We want Floor[Cos[x]]/.x->0 to give us 1, just as it does in > Mathematica, rather than 0. If instead we actually wanted > Limit[Floor[Cos[x]], x -> 0], we should have to ask for it _per se_. > hey, this is a nice and simple example to show the difference between the limit of a function as it approaches a point and the value of the function at a point. > {Aside: > Hmm. Here's a bizarre coincidence. That example was just now made up by me, > off the top of my head. But I now see that Mathematica 5.0 gets the limit > wrong! > > In[1]:= Limit[Floor[Cos[x]], x -> 0] > > Out[1]= 1 > > It should be 0, of course. Yet another bug.