### The Maxima on-line user's manual

Algebra Calculator

#### Last

Function: last (<expr>) Returns the last part (term, row, element, etc.) of the <expr>.

```(%o1)                                true
(%i2) ```

### Related Examples

##### last-length

koe:[1,2,5,8];

loppukaksi(lista):=[l...

loppukaksi(koe);

Calculate

? last;

Calculate

##### last-matrix-plot2d-ratsimp-solve-sqrt

f(x):= (1/2)*matrix([...

o: [0,0];

p: ratsimp(f(o));

Calculate

##### last-linsolve-rhs

eq1:x*4+y-2=y;

eq2:x+2=y;

a: linsolve([eq1,eq2]...

Calculate

e1:z=(b2*h2^3-b1*(h2-...

s1:solve([e1],[h2]);

s2:last(s1);

Calculate

##### last-matrix-plot2d-ratsimp-solve-sqrt

f(x):= (1/2)*matrix([...

o: [0,0];

p: ratsimp(f(o));

Calculate

omegazero:4;

x0:1.0;

vx0:2;

Calculate

##### last-matrix-plot2d-ratsimp-solve-sqrt

f(x):= (1/2)*matrix([...

o: [0,0];

p: ratsimp(f(o));

Calculate

##### last-matrix-plot2d-ratsimp-solve-sqrt

f(x):= (1/2)*matrix([...

o: [0,0];

p: ratsimp(f(o));

Calculate

omegazero:4;

x0:1.0;

vx0:2;

Calculate