 
 
 
5.13.2  Table of values and graph of a recurrent sequence : tableseq and plotseq
tableseq is a command that should be used inside a spreadsheet
(opened with Alt+t),
it returns a template to fill one column with
u0,  un+1=f(un) (one-term recurrence) or
more generally u0,...,uk,   un+k+1=f(un,un+1,...,un+k).
The template fills the column starting from the selected cell, or
starting from 0 if the whole column was selected.
See also plotseq (section 6.13) for a graphic representation
of a one-term recurrence sequence.
Examples :
- 
display the values of the sequence u0=3.5,  un=sin(un−1)
 Select a cell of the spreadsheet (for example B0) and 
input in the command line :tableseq(sin(n),n,3.5) Output :a column with sin(n), n, 3.5 
and the formula evalf(subst(B$0,B$1,B2))
 You get the values of the sequence 
u0=3.5, un=sin(un-1) in the column 
B.
- display the values of the Fibonacci sequence 
u0=1, u1=1  un+2=un+un+1
 Select a cell, say B0, and input in the command linetableseq(x+y,[x,y],[1,1]) This fills the B column sheet with| row | B |  | 0 | x+y |  | 1 | x |  | 2 | y |  | 3 | 1 |  | 4 | 1 |  | 5 | 2 |  | .. | .. |  | 7 | 5 |  | .. | .. |  
 
 
 
