MathGroup Archive 2001

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

Search the Archive

Re: Q: lefthand/right hand side of equation


eqn=(a+b==c+d);

l = eqn[[1]]

a + b

r = eqn[[2]]

c + d

Bob Hanlon

In a message dated 2001/1/26 1:56:50 AM, robert.schuerhuber at gmx.at writes:

>if i have an equation, how can i get the left/right hand side?
>
>e.g.
>
>eqn={a+b==c+d};
>
>i'd like to get something like:
>
>l=a+b
>r=c+d
>


  • Prev by Date: Re: Who can help me? (Instabilty of Evaluation)
  • Next by Date: Re:Extracting the name of a variable
  • Previous by thread: Re: Q: lefthand/right hand side of equation
  • Next by thread: Re: Q: lefthand/right hand side of equation