MathGroup Archive 1998

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

Search the Archive

Re: Result from FindRoot

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