MathGroup Archive 2004

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

Search the Archive

Re: Simple question


> Hi All,
> This is simple question, but I do not know how to go about searching for
it
> 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