MathGroup Archive 2004

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

Search the Archive

Re: Simple question

  • To: mathgroup at
  • Subject: [mg48034] Re: [mg48027] Simple question
  • From: Denis Mângia <mangia at>
  • Date: Sat, 8 May 2004 01:23:38 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at

> Hi All,
> This is simple question, but I do not know how to go about searching for
> in this user groups data base. I also could not find a reference to the
> solution in the "Mathematica Book". How does one assign the result of
> Solve[.] or FindRoot[.] in the form {x1-> 3.14,x2->0.763} to the two
> variables y1,y2 respectively?? Thanks for any assistance or specific
> references in the M book. George Kamin

You can do this, for example:

{a, b} = {x, y} /. {x -> 2, y -> 3}

After this command, a = 2 and b = 3

Denis Maciel

  • Prev by Date: Re: kuen surface
  • Next by Date: Re: Simple question
  • Previous by thread: Simple question
  • Next by thread: Re: Simple question