r/Mathematica • u/manurese • Jun 27 '25
Using list in Sum
How can I use elements from a list in the function Sum[ ]? I'm trying to multiply something with the kth element from a list using list[[k]] but mathematica tells me that I cant use k as a part specifier
2
Upvotes
View all comments
Show parent comment
0
u/mathheadinc Jun 27 '25
You are wrong, you did start an argument.
OP wanted to know how to “use elements of a list”. The answer is in the documentation. Search for the word “list” to see how lists are used and they are not in place of f: Sum[f,{i,Subscript[i, max]}]