I am trying to create an array, or rather just a table, from the results of the root finding procedure, calculated with a set of input parameters. This is what I wrote:
But when I run this small piece, I got a number of error messages. On the other hand, if I specify any given value of n betweeen 1 and 5, and run the kernel of the While statement, it gives the correct result, so I can build my Xpved table manually. What is wrong with the While loop?