Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Parculiarities of FindRoot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg116060] Parculiarities of FindRoot
  • From: Tianhui Li <tianhuil at princeton.edu>
  • Date: Mon, 31 Jan 2011 03:24:17 -0500 (EST)

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

Warm Regards,
Michael Li
Bendheim Center for Finance
Princeton University
Princeton, NJ 08544


  • Prev by Date: Re: Anyone know of a book on Mathematica suitable for 16-18year old?
  • Next by Date: Re: importing DICOM files
  • Previous by thread: Re: Anyone know of a book on Mathematica suitable for 16-18year old?
  • Next by thread: Repeatable ways to crash the MathKernel