MathGroup Archive 1990

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

Search the Archive

Coefficient[]

  • To: mathgroup at yoda.ncsa.uiuc.edu
  • Subject: Coefficient[]
  • From: "Keith R. Slavin" <keith at videovax.tv.tek.com>
  • Date: Sun, 09 Dec 90 12:26:10 PST

Both myself and leonard Parker came up with a workaround (thanks leonard),
namely if

sum = ... + a n + b + c/n +...

then Coefficient[Expand[n sum],n] gives b as required. Using the 3rd
parameter in Coefficient does NOT work, as it includes the reciprocal
powers of n as well as the constant b:

Coefficient[a n + b + c/n, n, 0]

gives

b + c/n

I don't know whether this was the intended behaviour or not...

Keith Slavin
keith at videovax.tv.Tek.com
Tektronix Inc.
Beaverton, Or.
(503) 627 4907




  • Prev by Date: D and sinh'; s/c vs. s*c^(-1).
  • Next by Date: Re: Coefficient
  • Previous by thread: D and sinh'; s/c vs. s*c^(-1).
  • Next by thread: Power[] corrupts, Absolute[Power[]] corrupts absolutely