Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*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 1998

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

Search the Archive

RE: Adding equations

  • To: mathgroup at smc.vnet.net
  • Subject: [mg14390] RE: [mg14342] Adding equations
  • From: Daniel CLEMENT <dclement at mail.cpod.fr>
  • Date: Sun, 18 Oct 1998 15:09:56 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Lawrence,
Thread[Plus[aû,cý],Equal]
does what you want.
You must instruct Thread to work with Equal; I think it is because Equal
does not have the attribute 'Listable'. Look for the help on Thread; 
there is an example very similar to yours. Of course, you can replace
Plus with Times or various other functions.

Daniel CLEMENT

> ----- Original Message -----
> From:	Lawrence Walker [SMTP:lwalker701 at earthlink.net]
To: mathgroup at smc.vnet.net
> Sent:	Thursday, October 15, 1998, 6:28:46
> To:	mathgroup at smc.vnet.net
> Subject:	[mg14342] Adding equations
>
> Group:
>
> I've been trying to add two equations as follows:
>
> In[4]:>     aû;
> In[5]:>     cý;
> In[6]:>     %4+%5
> Out[6]>     (aû)+(cý)
>
> The result I was looking for is (a+c)ÿb+d). The following works 
but it
> seems clumsy. In[7]:>     %4[[1]]+%5[[1]]ÿ4[[2]]+%5[[2]] Out[7]>     a+cû+d
> Is there a way to elegantly add (sub, mult, div) two equations?  Also 
is
> there an elegant way to add (sub, mult, div) an expression to both
> sides of an equation?
>
> Lawrence Walker
>
>
> ----- End Of Original Message -----




  • Prev by Date: Plot, Cursor and Spelling Errors questions
  • Next by Date: Re: Scale on axis in ListPlot3D?
  • Previous by thread: Re: Adding equations
  • Next by thread: Re: Adding equations