memory



If I understand your program (which I  may not!) it seems entirely 
numerical, in which case
writing it in a programming language that is compiled and targeted at 
efficient double-float
computations rather than symbolic-and (incidentally) numeric computing, 
would provide
much speedier computation.  Even writing in Lisp instead of Maxima would 
probably get you a factor of
20 or more. Writing in carefully declared Lisp, or C [which has to be 
declared], might get you
a factor of 40 or more.  I don't know about the plotting costs, though. 
They might be just the same.

But maybe speed is not an issue, if you can only get it done once.
Also, Maxima is becoming more supportive of numbers, though with CLISP 
that is not likely to get far.

RJF