Home page for accesible maths Math 101 Chapter 1: Sequences and Series

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

1.28 Building sequences

Example

In computation, we often want to build sequences such as: xx is the sequence of points from -2-2 to 33 in steps of 0.10.1; so

x=(-2,-1.9,-1.8,,2.9,3).x=(-2,-1.9,-1.8,\dots,2.9,3).

Then we can apply operations like y=x2-3y=x^{2}-3, so obtain

y=(1,0.61,0.24,,5.41,6).y=(1,0.61,0.24,\dots,5.41,6).

In LAB100, the programme RR writes this as

x<-seq(-2,3,by=0.1)x<-\quad seq(-2,3,by=0.1)
y<-x^  2-3y<-\quad x\,\widehat{}\,\,2-3