I apologize if this is too obvious of a question to ask, but I have spent many hours with the online Mathematica Book trying to figure out the proper way to implement this structure in Mathematica.
For example's sake, I have a list of 10 calculated values, n. I want to make a new list s, where s[] = n[], s[] = n[] + n[],..., s[] = n[] + n[] + ... + n[].
One way to think of it:
For i = 1 to 10;
x = 0;
For j = 1 to i;
x = x + n[[j]];
So that list s contains the desired sequence of 10 sums from list n.
I thought I had made up an easy example for myself, to learn about using Mathematica (draw a series of values, calculate their cumulative sums, convert to cumulative frequencies, and plot), but so far it's been very frustrating.
There isn't a library or bookstore near me with a Schaum's outline or other guiding resource, and my school is not in session for me to ask an instructor.
I will be grateful for your recommendations. The Mathematica Do, While, For structures are confusing to me.