Re: Coefficients of previous result
- To: mathgroup at smc.vnet.net
- Subject: [mg53128] Re: [mg53096] Coefficients of previous result
- From: "David Park" <djmp at earthlink.net>
- Date: Fri, 24 Dec 2004 05:59:20 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Milind, Use Rationalize or, better yet, don't introduce approximate numbers into the calculation in the first place. For easier communication with MathGroup you can convert your input/output cells to InputForm and then copy them into a posting. Or download the palette to do the copy and conversion from Bobby Treat's web site... http://www.eclecticdreams.net/ That way, responders can just copy the posted code into their own notebooks. David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: Milind Gupta [mailto:milind.gupta at gmail.com] To: mathgroup at smc.vnet.net 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