Hello wxuyec,
> The same expression, How can I want to get
>
> the coefficient of x^4*y?
>   
The coefficient of the coefficient...

try

var('a b x y')
res = expand ((a+b+x+y+1)^6)
res.coefficient (x^4)
res.coefficient (y)
res.coefficient (x^4).coefficient(y)
res.coefficient (y).coefficient(x^4)

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to