## 140 Reputation

16 years, 340 days

## But what do I do if I dont know n...

Well, my problem is, that I do not know the number of iterations n before running the algorithm. So how can I plot the data in the end without knowing n beforehand? Thanks very much in advance...

## But what do I do if I dont know n...

Well, my problem is, that I do not know the number of iterations n before running the algorithm. So how can I plot the data in the end without knowing n beforehand? Thanks very much in advance...

## How store the data in a Table...

Hello Jacques, I am a newbie to programming and Maple. I would love to store the values printed out as SFR and I in a table. But I do not know how to give the iterations an index, since I do not know how many steps the algorithm will take until reaching the target. Thus I believe storing the values in a table of size N, indexed by k might not be right. I would be more than grateful, if you could help me to figure this out. Thanks in advance

## How store the data in a Table...

Hello Jacques, I am a newbie to programming and Maple. I would love to store the values printed out as SFR and I in a table. But I do not know how to give the iterations an index, since I do not know how many steps the algorithm will take until reaching the target. Thus I believe storing the values in a table of size N, indexed by k might not be right. I would be more than grateful, if you could help me to figure this out. Thanks in advance

## Thank you......

Hello pantole and acer....thank you very much for all your help! This table is very elegant indeed, pantole. I like it. Enthusiasm from a newbie to solving problems with Maple... ;-)

## Presentation of Table...

Thank you, these are the right values. But do you know a way how to present those values in a table with p1 and p2 stating the columns and s the rows from 1 to 10? Thx, Fred
 Page 1 of 1
﻿