Ordering function

*To*: mathgroup at yoda.physics.unc.edu (mathgroup)*Subject*: Ordering function*From*: gt9397a at prism.gatech.edu (Daryl S. Reece)*Date*: Tue, 9 Nov 1993 14:37:00 -0500 (EST)

Is there a simple way to have MMA return an expression whose terms are all of an certain order or less, when given an arbitrary expression, the list of terms of the same order, and the order desired? Example Given: a^2 + a b^3 + a b c + (a^3 b^3 c + a b)/(a^2 + a b^2 c) where {a,b} are the same order. Retain 2nd order terms or lower. Return: a^2 + a b c + ab/(a^2+a b^2 c) Thanks, -- Daryl Reece Internet: dreece at cad.gatech.edu or gt9397a at prism.gatech.edu School of Aerospace Engineering Georgia Institute of Technology Atlanta, GA 30332-0150