MathGroup Archive 2011

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

Search the Archive

Re: FixedPoint[Cos, 1.0]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119370] Re: FixedPoint[Cos, 1.0]
  • From: "becko" <becko565 at hotmail.com>
  • Date: Wed, 1 Jun 2011 04:31:59 -0400 (EDT)

FixedPoint[Cos, 1.0] works quickly for me, returning 0.73908 as expected.

--------------------------------------------------
From: "J Siehler" <jsiehler at gmail.com>
Sent: Tuesday, May 31, 2011 4:49 AM
To: <mathgroup at smc.vnet.net>
Subject: [mg119370] [mg119351] FixedPoint[Cos, 1.0]

> My numerical analysis students this past term pointed out to me that
> the command
> 
> FixedPoint[Cos, 1.0]
> 
> which is the first example in the Information for FixedPoint doesn't
> ever finish running (or, not in any reasonable amount of time).  We
> tried this on serveral versions of Mathematica (6.x, 7.x, and 8.x),
> all on OS X, and got the same nonresult.
> 
> It can be forced by specifying something like FixedPoint[Cos, 1.0,
> SameTest -> (Abs[#1 - #2] < 10^-10 &)] or FixedPoint[Cos, 1.0, 40],
> but it seems like that should be unnecessary, and the form given in
> the documentation should work.  Can anybody else confirm this
> behavior?  Am I missing something totally obvious here?
> 
> 


  • Prev by Date: Re: Controlling the scale of x-axis in ListPlot
  • Next by Date: Re: Controlling the scale of x-axis in ListPlot
  • Previous by thread: Re: FixedPoint[Cos, 1.0]
  • Next by thread: Re: FixedPoint[Cos, 1.0]