how to evaluate with certain conditions and how to use arrays instead of separate variables



it works!!!
Thanks!



> > Thanks for doing my job! (grin)
> 
> Hey, no problem. You can buy me a beer sometime.


Great idea!
What is your current location?
I'm located in the SF south bay area...

Peter


> >? Error in PROGN [or a callee]: The storage for
> CONS is exhausted.
> > Currently, 186935 pages are allocated.
> > Use ALLOCATE to expand the space.
> 
> Well, I see 2 things different in this latest version,
> compared to the
> previous version. One is that gs is not assigned a value,
> but it still
> appears in expressions. So the end results are big
> expressions involving
> gs, instead of numbers. Maybe that's what you want. 
> 
> The other thing (and this is what's causing the out of
> memory error) is
> that the function int1 is defined as int1(...) :=
> integrate(...) instead
> of 'integrate(...) as it was before. So it is trying to do
> the
> integration with a huge symbolic expression, instead of
> doing it later
> on (via ev(..., nouns)) after many of the symbols have been
> substituted
> by numbers. I don't know what is going on in integrate that
> causes it to
> want so much memory, but, anyway, postponing the integration
> does allow
> the program to run to completion.
> 
> best,
> 
> Robert Dodier
> 
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>