Getting g(x) from g(x)*h(y)
- Subject: Getting g(x) from g(x)*h(y)
- From: Richard Hennessy
- Date: Sat, 8 Nov 2008 17:37:52 -0500
(%i1) f:a*y*log(y) - b*x*y^2 + c*y + d$
(%i2) makelist(ratcoeff(f,y,i), i,0,2);
(expr2) [d,a*log(y)+c,-b*x]
(%i3) makelist(ratcoeff(expr2[2],log(y),i), i,0,1);
(expr3) [c,a]