MathGroup Archive 2004

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

Search the Archive

Re: Simple question

  • To: mathgroup at
  • Subject: [mg48041] Re: [mg48027] Simple question
  • From: Murray Eisenberg <murray at>
  • Date: Sat, 8 May 2004 01:23:45 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <>
  • Reply-to: murray at
  • Sender: owner-wri-mathgroup at

Just do a bit of generalization from the examples given in the 
Mathematica Book, section 1.5.7 "Solving equation", about getting values 
from the rules provided by Solve with a single variable:

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

George Kamin wrote:
> 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 

Murray Eisenberg                     murray at
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

  • Prev by Date: RE : Building List
  • Next by Date: RE: Building List
  • Previous by thread: Re: Simple question
  • Next by thread: Re: Simple question