Re: refer to the result of FindRoot[ ]
- To: mathgroup at smc.vnet.net
- Subject: [mg61568] Re: refer to the result of FindRoot[ ]
- From: bmccarthy at gmail.com
- Date: Sat, 22 Oct 2005 03:24:07 -0400 (EDT)
- References: <dja24u$fg7$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Save the FindRoot rules by using roots=FindRoot[...], then use x=x/.roots. This will apply the replacement rule to x, and overwrite x with the value returned. Alternatively, x=roots[[1]][[2]] will work.