MathGroup Archive 2011

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

Search the Archive

Re: FixedPoint[Cos, 1.0]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119376] Re: FixedPoint[Cos, 1.0]
  • From: Erik Max Francis <max at alcyone.com>
  • Date: Wed, 1 Jun 2011 04:33:04 -0400 (EDT)
  • References: <is2kjq$qrm$1@smc.vnet.net>

J Siehler wrote:
> 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.

Works fine (and quickly) here (Linux 7.0.x for Linux):

In[1]:= FixedPoint[Cos, 1.0]

Out[1]= 0.739085

In[2]:= Timing[FixedPoint[Cos, 1.0]]

                    -18
Out[2]= {6.01732 10   , 0.739085}

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
  San Jose, CA, USA && 37 18 N 121 57 W && AIM/Y!M/Skype erikmaxfrancis
   Performing in front of a live audience is like a feeling of shock.
    -- Sade Adu


  • 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]