Previous Up Next

6.13.1  Array of values of a sequence : tablefunc

The tablefunc command fills two columns of a spreadsheet with a table of values of a function. The spreadsheet can be opened with Alt+t (see Section 4.5).


Example.
Display the values of the sequence un=sin(n)
Select a cell of a spreadsheet (for example C0) and:
Input:

tablefunc(sin(n),n,0,1)

Output:

rowCD
 nsin(n)
 00.0
 10.841470984808
 20.909297426826
 30.14112000806
 4-0.756802495308
 

The graphic representation may be plotted with the plotfunc command (see 8.4.1).


Previous Up Next