MathGroup Archive 2004

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

Search the Archive

form of algebraic output

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49955] form of algebraic output
  • From: "Blimbaum, Jerry AA R22" <jerry.blimbaum at navy.mil>
  • Date: Sat, 7 Aug 2004 03:52:02 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Mathematica gave me an output of this form where expr in each
parentheses is long winded expression......

A + p^2 (expr 2) + p (expr 1) + p^3 (expr 3)...

I got this output by using Collect[ expr,p]....

but I want the output in this form for the obvious reason....

A + p (expr 1 )  + p^2 (expr 2) +   p^3 (expr 3)...

How do I get that?

I notice if I type in    p^2 (a+b) + p (b+c) + p^3 (a+b+c)   the output
form is, in fact,  

  (b+c) p + b(a+b) p^2 + (a+b+c)  p^3.......

why the difference?


thanks....jerry blimbaum



  • Prev by Date: Executing commands with shortcuts?
  • Next by Date: Re: Re: Re: contains 208,987,640 decimal digits (was: Fibonachi[5,000,000] contains 1044938 decimal digits)
  • Previous by thread: Executing commands with shortcuts?
  • Next by thread: Turing machines anyone?