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: [mg48041] Re: [mg48027] Simple question
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Sat, 8 May 2004 01:23:45 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200405070829.EAA24837@smc.vnet.net>
  • Reply-to: murray at math.umass.edu
  • Sender: owner-wri-mathgroup at wolfram.com

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 math.umass.edu
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