MathGroup Archive 2012

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

Search the Archive

Re: Sum command

On 9/8/2012 2:48 AM, Rodrigo AP wrote:
> Dear group,
> How could I get: Sum[f[i],{i,7/2,4}]=f[4] or   Sum[f[i],{i,3/2,2}]=f[2] ? I
> mean, I want the iterator running over the integers only ...
> Regards

In[4]:= Last@Sum[f[i],{i,7/2,4,1/2}]
Out[4]= f[4]

In[7]:= Last@Sum[f[i],{i,3/2,2,1/2}]
Out[7]= f[2]


  • Prev by Date: Re: Count inside a matrix?
  • Next by Date: Re: A new FrontEnd
  • Previous by thread: Re: Sum command
  • Next by thread: Count inside a matrix?