MathGroup Archive 2005

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

Search the Archive

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.


  • Prev by Date: Apply and up/down value questions
  • Next by Date: Re: Unsorted Union
  • Previous by thread: Re: refer to the result of FindRoot[ ]
  • Next by thread: Warning from Piecewise