Re: Simplifying constants
- To: mathgroup at smc.vnet.net
- Subject: [mg18515] Re: Simplifying constants
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Thu, 8 Jul 1999 22:32:52 -0400
- Organization: Universitaet Leipzig
- References: <7m14k0$pg6@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, since Set[b+c+d+e,A] is nonsense I assume you mean Equal[b+c+d+e,A]. It is a matter of taste *what* you regard as simpler equations. I use typical pattern matching to turn a==b to a-b==0 or to exchange a==b to b==a. How ever the best and unique form is to force that all your equations are look lilke expr == 0 Regards Jens "Morten G. Dyndgaard" wrote: > > Hi, > > I am working with some annoyingly long equations that I want to simplify > by including one set of parameters in a constant (or function) A, and > another in B and so on. > > You can easily do: > > A = b+c+d+e > > but what I want to do is the reverse: > > b+c+d+e = A > > and use this information to reduce the equations. Does anybody know how > to do this? > > -- > Morten G. Dyndgaard > > E-mail: mgd at com.dtu.dk