Re: Coefficients of previous result
- To: mathgroup at smc.vnet.net
- Subject: [mg53115] Re: [mg53096] Coefficients of previous result
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Fri, 24 Dec 2004 05:59:02 -0500 (EST)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
Use Rationalize expr = (1.+2.x+2.x^2+2.x^3)/(1.+2.x+2.x^2); expr=Rationalize[expr] (2*x^3 + 2*x^2 + 2*x + 1)/(2*x^2 + 2*x + 1) Bob Hanlon > > From: Milind Gupta <milind.gupta at gmail.com> To: mathgroup at smc.vnet.net > Date: 2004/12/23 Thu AM 07:58:51 EST > To: mathgroup at smc.vnet.net > Subject: [mg53115] [mg53096] Coefficients of previous result > > The result of my previous step is something like this: > > expr = 1. + 2. x + 2. x^2 + 2. x^3 > ----------------------------------------- > 1. + 2. x + 2. x^2 > > But I need it to be like this: > > > expr = 1 + 2 x + 2 x^2 + 2 x^3 > ----------------------------------------- > 1 + 2 x + 2 x^2 > > so that I can use it with another function properly. Is there any way > to do that? > > Milind > >