MathGroup Archive 2009

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

Search the Archive

Re: coefficients but not from polynomial (variables does not work)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97985] Re: coefficients but not from polynomial (variables does not work)
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 27 Mar 2009 05:35:00 -0500 (EST)
  • References: <gqfm9a$lfv$1@smc.vnet.net>

Hi,

Cases[Sin[x] + Sin[y], _Symbol, Infinity]

may help.

Regards
   Jens

magdamoczydlowska at gmail.com wrote:
> Dear All,
> 
> Probably my question is very simple. Suppose that we have expression
> a= Sin[x]+Sin[y]. I would like receive variables from which this
> expression is dependent, so in this case {x,y}. The Variables does not
> work of course in this because it is not a polynomial and it gives me
> {Sin[x],Sin[y]}. Do anyone know how to solve my problem.
> 
> I would be very grateful for quick response.
> 
> Magdalena
> 


  • Prev by Date: Re: Read data structure from binary file
  • Next by Date: Printout stylesheet in V7 on Linux
  • Previous by thread: Re: coefficients but not from polynomial (variables does not work)
  • Next by thread: Detecting CD driver availability