Re: bug in the "Calculus`Limit`"
- To: mathgroup at smc.vnet.net
- Subject: [mg15406] Re: bug in the "Calculus`Limit`"
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Wed, 13 Jan 1999 20:57:20 -0500
- References: <77f1g9$m3t@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
trif at ipm.marine.su wrote in message <77f1g9$m3t at smc.vnet.net>...
>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
>
>
Or , instead of plotting,
(3^n+5^n)/(-3^n+5^n)//FullSimplify
1 + 2/(-1 + (5/3)^n)
Limit[%,n->Infinity]
1
or
(3^n+5^n)/(-3^n+5^n)/.x:_^n -> x/5^n
(1 + (3/5)^n)/(1 - (3/5)^n)
Limit[%,n->Infinity]
1
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565