Re: here's one driving me mad!
- To: mathgroup at smc.vnet.net
- Subject: [mg44778] Re: here's one driving me mad!
- From: "Curt Fischer" <crf3 at po.cwru.edu>
- Date: Thu, 27 Nov 2003 11:38:04 -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