I am working on a problem that involves 3 parameters a,b,c.
For each choice of those parameters I have a rather long program to calculate 3 other numbers x,y,z.
Using x,y,z I can start my investigation.
The calculation of x,y,z involves constructing several polynomials of degree 10 and solving for the coefficients along the way.
I have over many years studied simpler problems of lower degree and just gone through the calculations a step at a time without any problems.
Now that the calculations are more complex I thought I would create a procedure to automate the process. Therein lies the problem.
The lack of complete evaluation within a procedure is a new twist for me. It would require that I use eval commands many times. The simple illustrative example I posted was only the simplest example I could find of the phenomenon.
I certainly did not want to ask anyone to wade though my long program which is largely irrelevant. I was hoping that there was an option in a procedure like Full Evaluation that might help. Apparently not.
Perhaps solve will work on the whole system of equations; I will try it. I used many solves in a row because invoking solve in the specific order I present makes the process trivial. Perhaps, Maple will be able to solve 20 equations quickly without my “hint”.
When I try to understand why a procedure is not working I (temporarily) insert print commands to return information about what is going on. Thus, I might want to return a clear statement in English like "The error occurs when the density is x and the critical pressure is y. " The use of "is" in that context had nothing to do with Maple command is( , ) .
Finally, your comments about cat and || are not correct. Both x||2.3 and cat (x,23) return x||2.3. To do what I want to do I must enter xs:=convert(x,string) and then x||xs or cat(x,xs). Thanks to Robert Israel for pointing out that cat only works with integers.
You say "Generally I would suggest, that you step through some pages of a Maple introduction, as it seems you have some basic problems handling it, just do it and that will avoid frustrating and false learning."
I have been using Maple from Version 1 and have read the programming guides many times. I believe my questions are legitimate and not those of a newbie.
After I resolve the above issues I will try and find a simple example of another problem I am having with procedures–leakage. I have a procedure with the line
local q; After executing the procedure issuing the command q; returns the value of that variable. (q is an equation created within the procedure.) How can that be consistent with local? But obviously, a local variable is leaking form the procedure.