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
- References:
- Simple question
- From: George Kamin <gwkamin@adelphia.net>
- Simple question