Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

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

Search the Archive

Re: here's one driving me mad!

  • To: mathgroup at smc.vnet.net
  • Subject: [mg44815] Re: here's one driving me mad!
  • From: "Curt Fischer" <crf3 at po.cwru.edu>
  • Date: Thu, 27 Nov 2003 11:39:09 -0500 (EST)
  • References: <bpuqlc$o6f$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

<GlennRoberts at hbosts.com> wrote in message news:bpuqlc$o6f$1 at smc.vnet.net...
> hi all
> i have used the FindRoot function and it returns an output:
> {sd -> 10} say
>
> how do i get the output to return it without the sd -> bit ?

The output with the "->" is a replacement rule that says "replace the
variable you wanted solved for in FindRoot with the value found by
findroot".  To apply this rule on some other expression, use the ReplaceAll
operator "/."  .   For example:

In[3]:=
x /. FindRoot[x^2 == 10, {x, 3}]

Out[3]=
3.16228

-- 
Curt Fischer



  • Prev by Date: Re: here's one driving me mad!
  • Next by Date: Re: here's one driving me mad!
  • Previous by thread: Re: here's one driving me mad!
  • Next by thread: Re: here's one driving me mad!