Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

First

Function: first (<expr>) Returns the first part of <expr> which may result in the first element of a list, the first row of a matrix, the first term of a sum, etc. Note that first and its related functions, rest and last, work on the form of <expr> which is displayed not the form which is typed on input. If the variable inflag is set to true however, these functions will look at the internal form of <expr>. Note that the simplifier re-orders expressions. Thus first(x+y) will be x if inflag is true and y if inflag is false (first(y+x) gives the same results). The functions second .. tenth yield the second through the tenth part of their input argument.

There are also some inexact matches for first. Try ?? first to see them.

(%o1)                                true
(%i2) 

Related Examples

first-gcd-if-lambda-makelist-map-setify-subset

expr:n;

makelist(''expr, n, 1...

set(a,b);

Calculate

first-ratsimp-solve

eq_x: -(gc1*(y-0)-ic1...

eq_v1: i_oa1 + (gc3*(...

eq_v2: -(gc2*(y-v2)-i...

Calculate

first-solve

eq_y: gr1*(y) + gc1*(...

first(solve([eq_y], [...

Calculate

first-solve

eq_v1: gr1*(v1-(x-k*v...

eq_v2: gr2*(v2-v1) + ...

first(solve([eq_v1, e...

Calculate

first-kill-ratsimp-solve

kill(all);

nodev1: 0 = g*(v0 - k...

nodev2: 0 = g*(v1 - 0...

Calculate

first-if-lambda-makelist-map-mod-setify-subset

expr:n;

makelist(''expr, n, 1...

set(a,b);

Calculate

first-solve

f:(x/a)^2+(y/b)^2;

f1: f,x=4.5,y=2929/3600;

f2: f,x=2.3,y=89/400;

Calculate

first-if-lambda-makelist-map-mod-setify-subset

expr:n;

makelist(''expr, n, 1...

set(a,b);

Calculate

first-kill-solve

kill(all);

nodev1: 0 = g*(v0 - k...

nodev2: 0 = g*(v1 - 0...

Calculate

first-solve

eq_v1: (gc1*(x-v1) - ...

eq_y: (gc1*(v1-y) - i...

first(solve([eq_v1, e...

Calculate