Re: How to isolate the constant in a two variable equation?
- To: mathgroup at smc.vnet.net
- Subject: [mg113495] Re: How to isolate the constant in a two variable equation?
- From: "Eduardo M. A. M.Mendes" <emammendes at gmail.com>
- Date: Sun, 31 Oct 2010 02:08:01 -0500 (EST)
Hello Many thanks. It works too but it returns curly brackets. Ed -----Original Message----- From: Bill Rowe [mailto:readnews at sbcglobal.net] Sent: Saturday, October 30, 2010 6:38 AM To: mathgroup at smc.vnet.net Subject: [mg113495] [mg113477] Re: How to isolate the constant in a two variable equation? On 10/29/10 at 6:30 AM, emammendes at gmail.com (Eduardo M. A. M.Mendes) wrote: >I know that Coefficient can isolate the coefficient relate to the >variables in an equation but I wonder how the constant could be >retrieved. >Something like >4X*X+3Y*Y+2X*Y+1 >How to get to isolate the constant 1? In[4]:= Cases[4 X*X + 3 Y*Y + 2 X*Y + 1, _?(FreeQ[#, X | Y] &)] Out[4]= {1}