MathGroup Archive 1997

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

Search the Archive

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


  • 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