Help with Iteration.
- To: mathgroup at smc.vnet.net
- Subject: [mg8610] Help with Iteration.
- From: Alan Hunter <akh6n at virginia.edu>
- Date: Tue, 9 Sep 1997 03:07:24 -0400
- Organization: UVA
- Sender: owner-wri-mathgroup at wolfram.com
This question might seem pretty basic, but I'm new to Mathematica. Thanks for all the responses I got from my last question. They were all very helpful. It is always interesting to see several different approaches to the same problem. I am having a little trouble translating a Do statement into a Table command. How would you write a statement like Do[Print[{x,y}]; x=f[x, y]; y=z[x, y], {20}] , but that would output to a table. ie the output would be in the form of {{a, a}, {b, b}, {c, c}, ...} and not just a series of XY pairs printed vertically. Thanks in advance for any insights you might provide. Alan Hunter <akh6n at virginia.edu> The University of Virginia