Re: bug in the "Calculus`Limit`"
- To: mathgroup at smc.vnet.net
- Subject: [mg15411] Re: [mg15399] bug in the "Calculus`Limit`"
- From: Daniel Lichtblau <danl>
- Date: Wed, 13 Jan 1999 20:57:25 -0500
- References: <199901120814.DAA22535@smc.vnet.net.>
- Sender: owner-wri-mathgroup at wolfram.com
trif at ipm.marine.su wrote:
>
> Hi, Mathematica people.
> Look at this:
>
> In[1]:=Limit[(3^n+5^n)/(3^n-5^n),n->Infinity]
> Out[1]:=Limit[(3^n+5^n)/(3^n-5^n),n->Infinity]
>
> In[2]:=Needs["Calculus`Limit`"]
>
> In[3]:=Limit[(3^n+5^n)/(3^n-5^n),n->Infinity] Out[3]:=-3
>
> ???
>
> In[4]:=ListPlot[ Table[(3^n+5^n)/(3^n-5^n),{n,100}] ]
>
> Version: Mathematica 3.0 OS: Windows95
>
> -----------
> Evgeny
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
If it is any encouragement our next release will handle this with the
built-in Limit function.
In[1]:= Limit[(3^n+5^n)/(3^n-5^n),n->Infinity] Out[1]= -1
This does not excuse the bug noted in the Calculus`Limit package (though
in our defense, my experience working on the built-in Limit is that
this can be tricky stuff to do correctly). There are plans to do
further work on Limit for a future release.
Daniel lichtblau
Wolfram Research
- References:
- bug in the "Calculus`Limit`"
- From: trif@ipm.marine.su
- bug in the "Calculus`Limit`"