Some questions regarding loops and lists.

*To*: mathgroup at smc.vnet.net*Subject*: [mg67202] Some questions regarding loops and lists.*From*: "Eric" <thelonias at wildox.net>*Date*: Sun, 11 Jun 2006 23:08:21 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

Hello there, *I tried to post this initial with an attachment but I have not seen the post come through, if this turns out to be a duplicate please accept my apologies. I am not attaching the file to this post.* I have some questions regarding multiple processing of information. I think something like a loop to list would work but I have been unable to make do so. The first question is regarding algorithm processing for multiple instances of the same form. For example: solution[n_] function is created where n_ represents the number of terms in the series-- this is not constant, but it does increase. The following steps occur for each usage of the function: 1. Assignment to variable function for plotting purposes. Variable changes due to number of terms in each series. 2. Plotting the function. ( I guess this is only a visual reassurance to keep a handle upon the validity of the findroot command.) 3. using the findroot command to provide the lowest zero of the function. Presently this is done for each variable function (35 presently) by hand. Is there a way to automate this process successfully? The second question is regarding list appending. There is a set of values calculated which are then placed into a data table. This table is then used to create a list, and from this list a new list is created for graphing purposes. The new list contains two values in each element (x,y), instead of the one it was initially created with. The new value entered is in the position of x; it is entered by hand and is simply the original set of values which were calculated. Ideally, I would think there was a way to simply place the variables initially calculated into a two dimensional list, use the first dimension (the only one with a value initially) to calculate the second dimension elements, and then use that list for plotting purposes. I hope that gives an idea as to what I am trying to accomplish. Thanks a lot, Eric --I would be happy to send the file I tried to post initially if it is needed.