MathGroup Archive 2010

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

Search the Archive

Re: How to isolate the constant in a two variable equation?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg113465] Re: How to isolate the constant in a two variable equation?
  • From: "Nasser M. Abbasi" <nma at 12000.org>
  • Date: Sat, 30 Oct 2010 04:35:55 -0400 (EDT)
  • References: <iae7ok$7qd$1@smc.vnet.net>
  • Reply-to: nma at 12000.org

On 10/29/2010 3:30 AM, Eduardo M. A. M.Mendes wrote:
> Hello
>
>
>
> 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?


one way:


In[92]:= Clear[x,y]
eq=4x*x+3y*y+2x*y+1;
Coefficient[Coefficient[eq,x,0],y,0]

Out[94]= 1

--Nasser



  • Prev by Date: Re: How to isolate the constant in a two variable equation?
  • Next by Date: Re: How to isolate the constant in a two variable equation?
  • Previous by thread: Re: How to isolate the constant in a two variable equation?
  • Next by thread: Re: How to isolate the constant in a two variable equation?