Re: coefficient of a polynomial term
- To: mathgroup at smc.vnet.net
- Subject: [mg59356] Re: coefficient of a polynomial term
- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
- Date: Sun, 7 Aug 2005 03:46:52 -0400 (EDT)
- Organization: Uni Leipzig
- References: <dd1idh$19u$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, In[]:=CoefficientList[2 x^2 + 3 x*y + 4 y^2 + x^3, x] Out[]={4*y^2, 3*y, 2, 1} Regards Jens "Tun Myint Aung" <tma at nus.edu.sg> schrieb im Newsbeitrag news:dd1idh$19u$1 at smc.vnet.net... | Dear Mathgroup, | | One more question again! How to extract the coefficient of a polynomial term. For example: | | poly = 2 x^2 +3 x*y +4 y^2+x^3 | | I would like to get 2 for first term, 3 for second term, 4 for third term and so on.. | | Thank everyone for answering my questions | | | With Regards, | | Tun Myint Aung |