Re: FactorTerms
- To: mathgroup at smc.vnet.net
- Subject: [mg46066] Re: FactorTerms
- From: bobhanlon at aol.com (Bob Hanlon)
- Date: Wed, 4 Feb 2004 02:29:35 -0500 (EST)
- References: <bvpobu$2ap$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
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 (...)?