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:

Addrow

Function: addrow (<M>, <list_1>, ..., <list_n>) Appends the row(s) given by the one or more lists (or matrices) onto the matrix <M>.

numer : true;
f(x):= cos(x) + %e^(-x);
a:1.5;
b:2;
tol: 10^(-1);
M:matrix(["pm", "f(pm)", "err rel"]);
if f(a) * f(b) < 0 then    err: abs(b-a)/(b);
pm : (a+b)/2;
while(err>tol) do(pm : (a+b)/2,M:addrow(M, [pm,f(pm),err]),if f(a) * f(pm)  < 0  then b: pm  else a: pm, err: abs(b-a)/(b));
M;

(%o1)                                true
(%i2) 

Related Examples

addrow-col-invert-matrix-transpose

A: matrix([ 334.10086...

Xs: matrix([ -93.2717...

Ys: matrix([ 44.96910...

Calculate

addrow-matrix-transpose

A: matrix([335.285156...

Xs: matrix([ -93.2717...

Ys: matrix([ 44.96913...

Calculate

addrow-matrix

A:matrix([1,2],[3,4]);

l1:matrix([1,1]);

l2:matrix([1,2]);

Calculate

addrow-invert-matrix-transpose

A: matrix([ 334.10086...

Xs: matrix([ 93.27179...

Ys: matrix([ 44.96910...

Calculate

addrow-col-error-load-matrix-rhs

load(lsquares);

D: matrix( [3.2, 12,...

E:matrix( [0.4, -16,...

Calculate

addrow-invert-matrix-transpose

A: matrix([ 334.10086...

Xs: matrix([ -93.2717...

Ys: matrix([ 44.96910...

Calculate

addrow-ev-matrix

rowx:(1,ln(x),(ln(x)^...

x:1101.0;

mc:matrix;

Calculate

addrow-matrix

M:matrix([a1,a2,0,0],...

C:matrix([0,1,0,0]);

addrow(C,C . M,C . M^...

Calculate

addrow-matrix

A:matrix([1,2,3,4],[1...

l1:matrix([1,2,3,4]);

l2:matrix([1,1,2,2]);

Calculate