MathGroup Archive 2010

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

Search the Archive

Re: ReplaceRepeated in case of non ordered expressions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108086] Re: ReplaceRepeated in case of non ordered expressions
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Mon, 8 Mar 2010 06:12:10 -0500 (EST)
  • References: <hmvu9c$3nb$1@smc.vnet.net>

It's not particularly clear what your problem is but can't you use Set
Dealyed (:=) ?

x := a + b
y := c + d
a := z + t
b := y
x

c + d + t + z

Cheers -- Sjoerd

On Mar 7, 12:14 pm, Maria Davis <arbi... at gmail.com> wrote:
> Hi;
> I have such equations:
> x=a+b
> y=c+d
> a=z+t
> b=y
>
> I want to use mathematica in order to simplify x and  obtain: x=z+t+c
> +d
> I have used: [x,Listofequations]
> This function is available if I have equations written in the
> following order:
> x=a+b
> a=z+t
> b=y
> y=c+d
>
> but in the case of non ordered equations,  it doesn't work. Further, I
> must use equations in the order given.
> Please can you help me.
> Thanks



  • Prev by Date: Re: Re: Write an expression in a specific form
  • Next by Date: Re: Putting a Plot inside a Graphics function with other drawings
  • Previous by thread: ReplaceRepeated in case of non ordered expressions
  • Next by thread: Re: ReplaceRepeated in case of non ordered expressions