Re: Fixed Point functions
- Subject: [mg3247] Re: Fixed Point functions
- From: wagner at bullwinkle.cs.Colorado.EDU (Dave Wagner)
- Date: 20 Feb 1996 11:06:41 -0600
- Approved: usenet@wri.com
- Distribution: local
- Newsgroups: wri.mathgroup
- Organization: University of Colorado, Boulder
- Sender: daemon at wri.com
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