From: jhmeyers@miu.edu (John H Meyers)
Subject: Expand and Collect automatically (EXCO for HP48)
Date: 13 May 1997 00:00:00 GMT
Message-ID: <5l93pr$7he$1@news.iastate.edu>
References: <5kt02e$6a4@news1.planeteer.com> <33775175.43DE@dowco.com>
Organization: M.U.M. (Author's personal opinion only)
Newsgroups: comp.sys.hp48


The following is both equivalent to and shorter than the program
EXCO from the HP48G/GX Advanced User's Reference (AUR),
which performs EXPAN until nothing changes,
and then does likewise for COLCT:

\<< DO DUP EXPAN UNTIL DUP ROT SAME END
    DO DUP COLCT UNTIL DUP ROT SAME END \>>

Execution time for '(A+B)^4' on my calc is 28 seconds;
try an algebra software package for faster results.

-----------------------------------------------------------
With best wishes from:   John H Meyers   <jhmeyers@mum.edu>

