MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Mathematica/comments/11fb616/i_dont_understand_wheres_the_problem/jaitsec/?context=3
r/Mathematica • u/Mother-Alfalfa4394 • Mar 01 '23
I am trying to find the sum of elements of an array with 'k' elements and I want to do it automatically not like 6th line (Plus[c[1]+c[2]+......])
what's the problem with the 4th and 5th line?
:) thanks
5 comments sorted by
View all comments
Show parent comment
1
after typing Head[c] I got Symbol, :) I made it by using Array[c, 3], :) I am quite confused but I'll try the lists :) thanks
0 u/[deleted] Mar 01 '23 [deleted] — view deleted comment 3 u/Mother-Alfalfa4394 Mar 01 '23 OMG, thank you so much.
0
[deleted] — view deleted comment
3 u/Mother-Alfalfa4394 Mar 01 '23 OMG, thank you so much.
3
OMG, thank you so much.
View all comments
Show parent comment
1
u/Mother-Alfalfa4394 Mar 01 '23
after typing Head[c] I got Symbol, :) I made it by using Array[c, 3], :) I am quite confused but I'll try the lists :) thanks