MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Product and Summation sign

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66840] Re: Product and Summation sign
  • From: actuary at mchsi.com
  • Date: Thu, 1 Jun 2006 06:54:46 -0400 (EDT)
  • References: <e5jrpn$dul$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I  would like to thank everyone for responding to my question but a
special thanks goes to Bill Rowe.  His comments not only answered my
question but provided adequate comments to fill the gaps in my
understanding of Mathematica.

Thanks

Larry

Bill Rowe wrote:
> On 5/30/06 at 5:48 AM, actuary at mchsi.com wrote:
>
> >While a Mathematica user for some time,  use has been limited to
> >number crunching and not symbolic manipulations.  I started to
> >remedy this over the weekend.
>
> >I entered Sum[x[i],{i,1,50}] expecting to see a response with
> >Summation sign.  Instead the output was x[1}+x[2]+x[3]+.....
>
> >What do I need to do to get output that includes the Summation sign?
> >StandardForm was checked.
>
> By default, Mathematica attempts to evaluate any input. So, when you give definite limits for the Sum, the output is what you have seen. To get an output with the summation sign, you could use Hold to prevent evaluation of the summand, e.g.,
>
> Hold[Sum[x[i], {i, 1, 50}]] // TraditionalForm
>
> Alternatively, you could replace the upper limit with a variable, e.g.,
>
> s = Sum[x[i], {i, 1, n}] // TraditionalForm
>
> This second form tends to be more useful since you can use a replacement rule later to set the value of n, e.g.,
> 
> s/.n->50
> --
> To reply via email subtract one hundred and four


  • Prev by Date: Re: How to get the maximums of a curve
  • Next by Date: Re: Beginner--getting rid of dot products with zero
  • Previous by thread: Re: Product and Summation sign
  • Next by thread: Re: Product and Summation sign