Re: Expressions with ellipsis (...)
- To: mathgroup at smc.vnet.net
- Subject: [mg93035] Re: Expressions with ellipsis (...)
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Fri, 24 Oct 2008 02:31:12 -0400 (EDT)
On 10/22/08 at 5:39 AM, dch888 at googlemail.com (dch888) wrote:
>I want to do this:
>Limit[(n^2 + (n - 1)^2 + (n - 2)^2 + ... + 1)/n^3, n -> Infinity]
>But Mathematica barfs:
>expression cannot be followed by "...".
>How can I get Mathematica to eval this limit?
In[4]:= s = Sum[k^2, {k, 1, n}]/n^3
Out[4]= ((n + 1)*(2*n + 1))/(6*n^2)
In[5]:= Limit[s, n -> Infinity]
Out[5]= 1/3
For Mathematica, like any other complex computer software, there
is no substitute for learning the required syntax.