MathGroup Archive 1998

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

Search the Archive

Re: Result from FindRoot


  • To: mathgroup@smc.vnet.net
  • Subject: [mg10940] Re: Result from FindRoot
  • From: Bill Bertram <wkb@ansto.gov.au>
  • Date: Sat, 14 Feb 1998 00:53:15 -0500
  • Organization: ANSTO
  • References: <6bumvr$l98@smc.vnet.net>

Torbjrn Randahl wrote:
>
> Hello!
> How do I use the result from FindRoot in a Plot?
>
> The resullt from FindRoot is like:
> Out[4]:¿-> 300 000}
>  how do I assign the result directly to a variable  or  how do I set the
> variable f to the
> resulting (root)?


Here is an example of a simple way of doing it;

   f/. FindRoot[x^3-5Ð,{x,3}]

The variable f is now assigned the value 1.70998

Hope this helps,

Bill



  • Prev by Date: Wish list for next version
  • Next by Date: Re: ContourPlot help
  • Prev by thread: Result from FindRoot
  • Next by thread: Re: Result from FindRoot