MathGroup Archive 2005

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

Search the Archive

Re: Sum


"mjumbo" wrote

>x = Exp[-k]
>Sum[x, {k, 0, Infinity}]
>
>don't? What should I do to make it work?

Sum has the attribute HoldAll.
So you need to evaluate the expression x passed to it if yuo want it to see
what's inside it.

    Sum[Evaluate[x], {k, 0, Infinity}]

cheers,
Peltio


  • Prev by Date: Re: Combination
  • Next by Date: Re: a simplification problem
  • Previous by thread: Re: Re: Re: Sum
  • Next by thread: Re: Sum