Message Boards Message Boards

Summing table values


For an assignment I need to use mathematica to create a table. In this table I want to start at the bottom and create a table command where every value below this cell is added to a certain cell. Like in excel you can do c5=10+c6 and c6=5+c7 etcetera. What is the most easy way to do this in mathematica.

Thanks in advance

POSTED BY: Sven Cozijn

Accumulate function.

Accumulate[{a, b, c}]

{a, a + b, a + b + c}

POSTED BY: Priyan Fernando
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract