1 страниц (4 вхождений)
Summation ..is possible to summ for values of i even ( odd )? - Сообщения
#1 Опубликовано: 29.11.2010 10:18:58
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 Опубликовано: 29.11.2010 14:26:41
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 Опубликовано: 29.11.2010 16:22:29
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 Опубликовано: 29.11.2010 16:57:34
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 страниц (4 вхождений)
-
Новые сообщения
-
Нет новых сообщений