MathGroup Archive 1999

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

Search the Archive

Ordering output in a polynomial


Hello:

Thanks to all the people who answered my question about multiple
integrals.

The answer was

Integrate[1, {x[1], 0, 1},
  Sequence @@ Table[{x[n], k[n - 1], x[n - 1]}, {n, 2, 4}]]


I would now like to order the output in a special way, i.e., the terms
of a polynomial should be in a form, such that the expressions with only
one term are first, then the expressions with two terms, etc. How do I
do that?

eg:

I would like to get (a + b)^2 = a^2 + b^2 + 2ab

instead of a^2 + 2ab + b^2

Thank you very much in advance for help to my e-mail
george at netvision.net.il.

George Szpiro





  • Prev by Date: FEM for cavity antennas and Mathematica
  • Next by Date: about musical functions
  • Previous by thread: FEM for cavity antennas and Mathematica
  • Next by thread: about musical functions