Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12160 > unrolled thread

Re: How do I assign the solution obtained by FindRoot to

Started by"Harvey P. Dale" <hpd@hpdale.org>
First post2012-10-24 07:32 +0000
Last post2012-10-24 07:32 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How do I assign the solution obtained by FindRoot to "Harvey P. Dale" <hpd@hpdale.org> - 2012-10-24 07:32 +0000

#12160 — Re: How do I assign the solution obtained by FindRoot to

From"Harvey P. Dale" <hpd@hpdale.org>
Date2012-10-24 07:32 +0000
SubjectRe: How do I assign the solution obtained by FindRoot to
Message-ID<k685is$m8j$1@smc.vnet.net>
	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



[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web