Re: FindRoot
- To: mathgroup at smc.vnet.net
- Subject: [mg31488] Re: FindRoot
- From: Erk Jensen <Erk.Jensen at cern.ch>
- Date: Thu, 8 Nov 2001 04:54:26 -0500 (EST)
- Organization: CERN http://www.cern.ch
- References: <9sb3u5$8oc$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Pieter-Jan.DeSmet at fys.kuleuven.ac.be wrote: > > 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 Try FindRoot[Evaluate[f[1]],{x,0}] Ciao -erk- -- Dr.-Ing. Erk JENSEN mailto:Erk.Jensen at cern.ch CERN PS/RF L19510 http://cern.ch/Erk.Jensen CH-1211 Geneva 23 Tel.: +41 22 76 74298 Switzerland Fax.: +41 22 76 78510