MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Re: Something like Flatten
  • Next by Date: RE: make 1. x 10^-10 read 10^-1
  • Previous by thread: Re: Bottons and Notations
  • Next by thread: Re: Help with Iteration.