MathGroup Archive 1996

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

Search the Archive

Re: Fixed Point functions


In article <4g5814$g5d at dragonfly.wolfram.com>,
Jonathan Lee  <bobjon at gatewest.com> wrote:
>
>Is there a way to get the same effect as Length[FixedPointList[f, x, n]] 
>with FixedPoint. Or perhaps just a better way with FixedPointList or 
>something else? Any help appreciated

Try this:

    c = 0; FixedPoint[(c++; (#+2/#)/2)&, 1.] 
    1.41421

    c
    6

		Dave Wagner
		Principia Consulting
		(303) 786-8371
		dbwagner at princon.com
		http://www.princon.com/princon

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Solving Laplace eq in 3D with arbitrary boundary conditions
  • Next by Date: Re: Fixed Point functions
  • Previous by thread: Fixed Point functions
  • Next by thread: Re: Fixed Point functions