Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Calculating Successive Values for a List' topicStudent Support Forum > General > "Calculating Successive Values for a List"

Next Comment >Help | Reply To Topic
Author Comment/Response
W. D. Allen
09/14/03 2:36pm

I am doing an evaluation of Mathematica for the California based North Orange County Computer Club. The example I am doing is to import a set of monthly Dow Jones values, calculate a set of compound interest rates using random samples from that list, and then plot each rate versus it's corresponding monthly span.

I have managed to import the data, have written the code for the calculations needed and have appended the first rate-months value to the list.

But how do I repeat that process to generate and append another 999 rate-month values in a list of the form {{rate1, month1}, {rate2, month2}, ... } suitable for ListPlot[]?

(from a old dog trying to learn new Mathematica tricks)

Thanks,

W. D. Allen

ballensr@adelphia.net

end


URL: ,

Subject (listing for 'Calculating Successive Values for a List')
Author Date Posted
Calculating Successive Values for a List W. D. Allen 09/14/03 2:36pm
Re: Calculating Successive Values for a List Henry Lamb 09/24/03 7:31pm
Next Comment >Help | Reply To Topic