Dear everyone,
Hello,
I have a question about how to get the power 'n' in an expression "(x+y)^n". For instance, I have a Maple code
******
eq1:=4*x^n*y^m+(x+y)^n+x^3;
f1:=map(t -> `if`(match(t = c*y^d, y, 's'), subs(s,d), NULL),
convert(eq1, list));
f2:=map(t -> `if`(match(t = c*x^d, x, 's'), subs(s,d), NULL),
convert(eq1, list));