Re: Fixed Point functions
- To: mathgroup at smc.vnet.net
- Subject: [mg3247] Re: Fixed Point functions
- From: wagner at bullwinkle.cs.Colorado.EDU (Dave Wagner)
- Date: Tue, 20 Feb 1996 03:23:19 -0500
- Organization: University of Colorado, Boulder
- Sender: owner-wri-mathgroup at wolfram.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 ==== [MESSAGE SEPARATOR] ====