MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Q: Collect, Coefficient, and non-integer exponents


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


  • Prev by Date: Re: [Q] Why Integrate[1/x,x] <> Log[Abs[x]] with Mma 2.2 ?
  • Next by Date: Re: Re: Q - image processing / reading TIFF/JPEG files?
  • Previous by thread: Re: Q: Collect, Coefficient, and non-integer exponents
  • Next by thread: Re: Q: Collect, Coefficient, and non-integer exponents