1 Pages (4 items)
Summation ..is possible to summ for values of i even ( odd )? - Messages
#1 Posted: 11/29/2010 10:18:58 AM
Hi,
was wondering if exists a tip so that is possible to use the Summation symbol with the constraints to sum i from 0 to n but selecting just even(odd) values in the sequence of the i index .
Hope that I was able to explain correctly what I mean.
Bests Regards
Francesco
was wondering if exists a tip so that is possible to use the Summation symbol with the constraints to sum i from 0 to n but selecting just even(odd) values in the sequence of the i index .
Hope that I was able to explain correctly what I mean.
Bests Regards
Francesco
#2 Posted: 11/29/2010 2:26:41 PM
Hello Francesco,
I am not quite sure if this is like something you wanted:
[MATH=eng]n←13[/MATH]
[MATH=eng]sum(el(x,2*i),i,1,round({n-1}/2,0))—el(x,2)+el(x,4)+el(x,6)+el(x,8)+el(x,10)+el(x,12)[/MATH]
[MATH=eng]sum(el(x,2*i+1),i,0,round(n/2-1,0))—el(x,1)+el(x,3)+el(x,5)+el(x,7)+el(x,9)+el(x,11)+el(x,13)[/MATH]
Regards,
Radovan
I am not quite sure if this is like something you wanted:
[MATH=eng]n←13[/MATH]
[MATH=eng]sum(el(x,2*i),i,1,round({n-1}/2,0))—el(x,2)+el(x,4)+el(x,6)+el(x,8)+el(x,10)+el(x,12)[/MATH]
[MATH=eng]sum(el(x,2*i+1),i,0,round(n/2-1,0))—el(x,1)+el(x,3)+el(x,5)+el(x,7)+el(x,9)+el(x,11)+el(x,13)[/MATH]
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Posted: 11/29/2010 4:22:29 PM
Hi Radovan,
yes this is what I mean; your one is really a smart approach.
Thanks a lot for your answer.
Francesco
yes this is what I mean; your one is really a smart approach.
Thanks a lot for your answer.
Francesco
#4 Posted: 11/29/2010 4:57:34 PM
You are welcome Francesco
I am glad to be of any assistance.
Regards,
Radovan

I am glad to be of any assistance.
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 Pages (4 items)
-
New Posts
-
No New Posts