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.

solve(first(eliminate([60*x=40*y,(60*x+40*y)/(x + y)=n],[x])),n);

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

(%o1)                                true
(%i2) 

Related Examples

first-solve

sol : first(solve ([a...

Calculate

first-rat-rhs-solve

o: rat(c[i]/a,c[i]) /...

o[active]: o*a /* act...

o[inactive]: o*(1-a) ...

Calculate

first-ilt-integrate-laplace-linsolve-rhs-sinh

'integrate (sinh(a*x)...

laplace (%, t, s);

linsolve ([%], ['lap...

Calculate

first-solve

sol : first(solve ([a...

Calculate

first-rat-rhs-solve

o: rat(c[i]/a,c[i]) /...

o[active]: o*a /* act...

o[inactive]: o*(1-a) ...

Calculate

first-ilt-integrate-laplace-linsolve-rhs-sinh

'integrate (sinh(a*x)...

laplace (%, t, s);

linsolve ([%], ['lap...

Calculate