I have an expression like this:(adsbygoogle = window.adsbygoogle || []).push({});

expr1:=x*e^2+y*e+(x^2-1)*e^2

How i can, using maple, group terms with e.

In this case with result like:

expr2:=e^2*(x+x^2-1)+e*y

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Using maple to group terms

**Physics Forums | Science Articles, Homework Help, Discussion**