Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: simple sequence problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg74417] Re: [mg74402] simple sequence problem
  • From: "厉正吉" <zhengji.li at gmail.com>
  • Date: Tue, 20 Mar 2007 05:55:51 -0500 (EST)
  • References: <200703200310.WAA15536@smc.vnet.net>

Dear,

You may see the help for Nest and NestList.

Plot for 100 points:
ListPlot[NestList[Cos, 1, 100]]

On 3/20/07, traz <t_raz at yahoo.com> wrote:
> Hi, this might be a silly question, but how do you do this in mathematica.
>
> x1 == Cos[1];
> x2 == Cos[x1];
> x3 == Cos[x2];
>
> and so on ... ... so basically x(n)= Cos[x(n - 1)]
>
> I want to plot n against x(n). How do you do the code for this type of sequence in mathematica?
>
>


-- 
Li Zhengji
-------------------------------------------------------------
If all you have is a hammer, everything is a nail.
-------------------------------------------------------------


  • Prev by Date: Re: Help to use colors with graphics in Mathematica
  • Next by Date: Re: About TableForm
  • Previous by thread: Re: simple sequence problem
  • Next by thread: Re: simple sequence problem