MathGroup Archive 2012

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

Search the Archive

Re: [newb] simple equation substitutions

On 11/1/2012 2:19 AM, Neal Becker wrote:
> {y == x + 2, x == 7}
> Solve[%, y]
> -> {}
> What I expected to happen is have x->7 applied to y == x+2.
> My real plan is to develop a list of (a lot more complicated)
>expressions that will have repeated substitutions applied.
> Why didn't the above work and/or what should I do instead?

Solve wants you to list _all_ the variables.

In[4]:= {y==x+2,x==7};

Out[5]= {{y->9,x->7}}


  • Prev by Date: Re: FDTD method to solve Maxwell equations
  • Next by Date: Re: Solve...or not
  • Previous by thread: Re: [newb] simple equation substitutions
  • Next by thread: Workbook demands .mov file on opening, how do I suppress?