First time here? Check out the FAQ!
answered 2013-04-09 21:55:07 +0100
Do you mean something like this?
sage: var('a,e') (a, e) sage: p1 = (a+e^(1/3)) sage: p2 = e^(2/3) sage: p1*p2 (a + e^(1/3))*e^(2/3) sage: expand(_) a*e^(2/3) + e