MathGroup Archive 2006

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

Search the Archive

Re: NestWhile iterator.

  • To: mathgroup at
  • Subject: [mg66558] Re: NestWhile iterator.
  • From: "Borut Levart" <BoLe79 at>
  • Date: Sat, 20 May 2006 04:46:56 -0400 (EDT)
  • References: <e4bivp$1ap$><e4jtlq$cuq$>
  • Sender: owner-wri-mathgroup at

Hey, that's an elegant solution. Since calculating the square root
above is very ... definite, I remembered something "off-topic" and
wanted to try out: how would one compare the last two result of
NestWhile in order to stop the calculation? With supplying the fourth
argument to the function.
With counting the iterations, let's solve for the intersection of y =
cos(x) and y = x with an error tolerance of 0.001:


{16, 0.738705}

Borut Levart

  • Prev by Date: Re: want real solutions instead of complex ones
  • Next by Date: Mathlink and Intel C++ compiler
  • Previous by thread: Re: NestWhile iterator.
  • Next by thread: Lists and rules