Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

Re: Result from FindRoot

  • To:
  • Subject: [mg10940] Re: Result from FindRoot
  • From: Bill Bertram <>
  • Date: Sat, 14 Feb 1998 00:53:15 -0500
  • Organization: ANSTO
  • References: <6bumvr$>

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,


  • 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