Re: coefficients but not from polynomial (variables does
- To: mathgroup at smc.vnet.net
- Subject: [mg98008] Re: [mg97968] coefficients but not from polynomial (variables does
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Fri, 27 Mar 2009 05:39:24 -0500 (EST)
- Reply-to: hanlonr at cox.net
Cases[a = Sin[x*Pi] + Sin[y], _Symbol?(! NumericQ[#] &), Infinity] {x,y} Bob Hanlon ---- 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