MathGroup Archive 2004

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

Search the Archive

Re: Coefficients of previous result


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




  • Prev by Date: Re: Coefficients of previous result
  • Next by Date: Re: Coefficients of previous result
  • Previous by thread: Re: Coefficients of previous result
  • Next by thread: Excel Link Problem