MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: FactorTerms


PA=16*a0+16*a1*z+16*a2*z^2+16*a3*z^3+16*a4*z^4;

f = FactorTerms[PA];

f[[1]]

16

f[[2]]

a4*z^4 + a3*z^3 + a2*z^2 + a1*z + a0

f/f[[1]]

a4*z^4 + a3*z^3 + a2*z^2 + a1*z + a0


Bob Hanlon

In article <bvpobu$2ap$1 at smc.vnet.net>, carlos at colorado.edu (Carlos Felippa)
wrote:

<< Suppose I have the polynomial

PA=16*a0 + 16*a1*z + 16*a2*z^2 + 16*a3*z^3 + 16*a4*z^4;

FactorTerms[PA]

produces

16*(a0 + a1*z + a2*z^2 + a3*z^3 + a4*z^4)

How do I extract the 16 and the (...)?


  • Prev by Date: Re: Graphics into MS Word
  • Next by Date: Re: help for time series basic operations
  • Previous by thread: FactorTerms
  • Next by thread: RE: FactorTerms