Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #12160
| From | "Harvey P. Dale" <hpd@hpdale.org> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: How do I assign the solution obtained by FindRoot to |
| Date | 2012-10-24 07:32 +0000 |
| Message-ID | <k685is$m8j$1@smc.vnet.net> (permalink) |
| References | <20121023045437.AE4F2685C@smc.vnet.net> |
| Organization | Time-Warner Telecom |
If the sought root is, for example, the square root of 2, and the variable is sqrt2:
sqrt2=x/.FindRoot[x==Sqrt[2],{x,1.4}]
Best,
Harvey
-----Original Message-----
From: NS Lin [mailto:nansheng.lin@gmail.com]
Sent: Tuesday, October 23, 2012 12:55 AM
Subject: How do I assign the solution obtained by FindRoot to a variable?
I would like to store the root/solution obtained by the FindRoot[] function to a variable. How can I do that?
Thanks!
NS
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: How do I assign the solution obtained by FindRoot to "Harvey P. Dale" <hpd@hpdale.org> - 2012-10-24 07:32 +0000
csiph-web