 
 
 
 
 
 
RE: FindRoot
- To: mathgroup at smc.vnet.net
- Subject: [mg31508] RE: [mg31463] FindRoot
- From: "David Park" <djmp at earthlink.net>
- Date: Thu, 8 Nov 2001 04:55:34 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Check the Attributes of FindRoot.
Attributes[FindRoot]
{HoldAll, Protected}
f[i_] := x == i
FindRoot[f[1] // Evaluate, {x, 0}]
{x -> 1.}
David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/ 
> From: Pieter-Jan.DeSmet at fys.kuleuven.ac.be
To: mathgroup at smc.vnet.net
> [mailto:Pieter-Jan.DeSmet at fys.kuleuven.ac.be]
> 
> Dear Sir,
> 
> Can you clarify the following error message?
> 
> In[3]:= f[i_] := x == i
> 
> In[5]:= FindRoot[f[1], {x, 0}]
> 
> FindRoot::frnum: Function {False} is not a length 1 list of
> numbers at {x} = {0.}.
> 
> Out[5]=FindRoot[f[1], {x, 0}]
> 
> 
> This is a simplified version of an error message I got in a more
> difficult case. I hope that I have not made a stupid mistake.
> 
> Thank you very much
> 
> Pieter-Jan De Smet
>

