Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4326
| From | Tomas Garza <tgarza10@msn.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: ? |
| Date | 2011-08-11 09:23 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j20728$789$1@smc.vnet.net> (permalink) |
| References | <201108101047.GAA26230@smc.vnet.net> |
Try
In[1]:= x/.{x->0.49454545}Out[1]= 0.494545
-Tomas
> Date: Wed, 10 Aug 2011 06:47:21 -0400
> From: david.kirkby@onetel.net
> Subject: ?
> To: mathgroup@smc.vnet.net
>
> The output of FindRoot[] when trying to find a root is like:
>
> {x -> 0.49454545}
>
> How can I convert that list, into the number 0.49454545?
>
> In[1]:= FindRoot[x+9,{x,-5}]
>
> Out[1]= {x -> -9.}
>
> In[2]:= Head[%]
>
> Out[2]= List
>
> I can't seem to find any "normal" operations on the list which give me
> the number.
>
> Dave
>
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Re: ? Tomas Garza <tgarza10@msn.com> - 2011-08-11 09:23 +0000 Re: ? Gary Wardall <gwardall@gmail.com> - 2011-08-13 10:52 +0000
csiph-web