Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15801
| From | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Parculiarities of FindRoot |
| Date | 2011-02-01 11:53 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <ii8s85$2na$1@smc.vnet.net> (permalink) |
On 1/31/11 at 3:24 AM, tianhuil@princeton.edu (Tianhui Li) wrote:
>Here's a question for the group: in the following function, Func
>seems to evaluate numerical arguments correctly and *works* when you
>throw it into a FindRoot. But the second command generates a lot of
>warning messages. Does anyone understand why?
>Func[y_] := x^2 /. FindRoot[x + y == 0, {x, 0.}]
>Func[.2]
>FindRoot[Func[z], {z, 0.}]
FindRoot is a *numeric* root finder. When you do Func[.2] you
provide a numeric value and FindRoot can find a numeric
solution. When you do FindRoot[z] you are supplying a symbolic
value and it is not possible for FindRoot to get a numeric solution.
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Parculiarities of FindRoot Bill Rowe <readnews@sbcglobal.net> - 2011-02-01 11:53 +0000
csiph-web