[newbie] Polynomial multiplication question



On Sat, Feb 13, 2010 at 02:52:41AM -0800, gelu precup wrote:
> I tried these commands
> 
> p1 : (1 + x + y + E)^18$
> p2 : (1 + a + b + F)^18$
> rez:length(ratexpand(p1*p2))$
> 
> but Maxima does not return any result.
> The processor is active for about 40 seconds, then stops abruptly without any
> error message to display. This is normal, or is something wrong with my Maxima
> installation?

I guess you know that $ at the end of a line supresses the output?

> I tried the same operations in other CAS systems. For example Reduce returns in
> about 1-2s the result of 1768900 terms, so the calculation itself seems to be
> not that heavy.

On my machine when trying your code I get

Maxima encountered a Lisp error:

Error in PROGN [or a callee]: The storage for CONS is exhausted.
Currently, 89965 pages are allocated.
Use ALLOCATE to expand the space.

It is from
Maxima 5.20.1 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.7 (a.k.a. GCL)

-- 
Stanislav