MathGroup Archive 2004

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

Search the Archive

Re: Simple question


On 5/7/04 at 4:29 AM, gwkamin at adelphia.net (George Kamin) wrote:

>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.

Use ReplaceAll i.e.

{y1,y2} = {x1,x2}/.{x1-> 3.14,x2->0.763}

For more detail look up ReplaceAll in either the Mathematica Book or Help Browser
--
To reply via email subtract one hundred and four


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