Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

Re: Q: lefthand/right hand side of equation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg26920] Re: [mg26872] Q: lefthand/right hand side of equation
  • From: Hugh Walker <hwalker at gvtc.com>
  • Date: Fri, 26 Jan 2001 23:29:59 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

robert.schuerhuber at gmx.at writes:
========
hello!
maybe a rather simple question:

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
=========
This will work:

eqn=a+b==c+d
{l,r}=eqn/.(Equal->List}

    ==

Hugh Walker
Gnarly Oaks




  • Prev by Date: Re:Extracting the name of a variable
  • Next by Date: Re: Q: lefthand/right hand side of equation
  • Previous by thread: Re: Q: lefthand/right hand side of equation
  • Next by thread: Re: Q: lefthand/right hand side of equation