Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Simple question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48048] Re: Simple question
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Sat, 8 May 2004 01:24:02 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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