Re: Q: lefthand/right hand side of equation

*To*: mathgroup at smc.vnet.net*Subject*: [mg26936] Re: [mg26872] Q: lefthand/right hand side of equation*From*: Tomas Garza <tgarza01 at prodigy.net.mx>*Date*: Fri, 26 Jan 2001 23:30:12 -0500 (EST)*References*: <200101260627.BAA18679@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

Well, it all depends how you choose to write your equation. You chose to write it inside curly braces (why?). Then look at FullForm: In[1]:= eqn = {a + b == c + d} Out[1]= {a + b == c + d} In[2]:= FullForm[%] Out[2]//FullForm= List[Equal[Plus[a, b], Plus[c, d]]] which means that you have In[3]:= eqn[[1, 1]] Out[3]= a + b In[4]:= eqn[[1, 2]] Out[4]= c + d Tomas Garza Mexico City ----- Original Message ----- From: "Robert" <robert.schuerhuber at gmx.at> To: mathgroup at smc.vnet.net Subject: [mg26936] [mg26872] Q: lefthand/right hand side of equation > 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 > > thanks, > > robert > > >

**References**:**Q: lefthand/right hand side of equation***From:*Robert <robert.schuerhuber@gmx.at>