Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: FindRoot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg31519] Re: [mg31463] FindRoot
  • From: BobHanlon at aol.com
  • Date: Thu, 8 Nov 2001 04:56:40 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

In a message dated 2001/11/7 6:57:38 AM, Pieter-Jan.DeSmet at fys.kuleuven.ac.be 
writes:

>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.

f[i_]:=x==i;

FindRoot[Evaluate[f[1],{x,0}]]

{x -> 1.}


Bob Hanlon
Chantilly, VA  USA


  • Prev by Date: Re: checking for a particular value in a matrix
  • Next by Date: Re: Viewing Mathematica-generated PDFs on a PDA
  • Previous by thread: Re: FindRoot
  • Next by thread: RE: FindRoot