Re: Q: Collect, Coefficient, and non-integer exponents
- To: mathgroup at smc.vnet.net
- Subject: [mg8767] Re: Q: Collect, Coefficient, and non-integer exponents
- From: tburton at cts.com (Tom Burton)
- Date: Sun, 21 Sep 1997 20:51:10 -0400
- Organization: Brahea Consulting
- Sender: owner-wri-mathgroup at wolfram.com
On 20 Sep 1997 19:07:07 -0400, sergio at scisun.sci.ccny.cuny.edu (Sergio Rojas) wrote: >expr = Expand[Sum[(a*n +b*n -c)*x^(n+0.12/n),{n,1,4}]]; > >(** > One knows in advance that a power of x is, for example, 1.12 and > we want to know its coefficient. Here's one way: In[47]:= Cases[expr,coeff_ x^1.12->coeff] Out[47]= {a,b,-c} Tom Burton