Re: Confusion between rules and variables
- To: mathgroup at smc.vnet.net
- Subject: [mg42419] Re: [mg42416] Confusion between rules and variables
- From: Tomas Garza <tgarza01 at prodigy.net.mx>
- Date: Sun, 6 Jul 2003 06:57:02 -0400 (EDT)
- References: <200307050711.DAA19921@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Two possibilities: x = x/.{x->0.543} or x = {x -> 0.543}[[1,2]] Tomas Garza Mexico City ----- Original Message ----- From: "Jonathan Greenberg" <greenberg at ucdavis.edu> To: mathgroup at smc.vnet.net Subject: [mg42419] [mg42416] Confusion between rules and variables > I ran a FindRoot where the output was {x->0.543} -- How do I extact that > value (0.543) for use in some other equation (e.g. How do I set a variable > equal to 0.543, instead of that entire rule)? > > --j > >
- References:
- Confusion between rules and variables
- From: Jonathan Greenberg <greenberg@ucdavis.edu>
- Confusion between rules and variables