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:

Makelist Calculator

Makelist

Function: makelist (<expr>, <i>, <i_0>, <i_1>)

expr:n;
makelist(

Function: makelist (<expr>, <x>, <list>) Constructs and returns a list, each element of which is generated from <expr>.

makelist (<expr>, <i>, <i_0>, <i_1>) returns a list, the jth element of which is equal to ev (<expr>, <i>=j) for j equal to <i_0> through <i_1>.

makelist (<expr>, <x>, <list>) returns a list, the jth element of which is equal to ev (<expr>, <x>=<list>[j]) for j equal to 1 through length (<list>).

Examples:

          (%i1) makelist(concat(x,i),i,1,6);
          (%o1)               [x1, x2, x3, x4, x5, x6]
          (%i2) makelist(x=y,y,[a,b,c]);
          (%o2)                 [x = a, x = b, x = c]

(%o1)                                true
(%i2) 

Makelist Example

Related Examples

makelist-map

A:makelist(i,i,1,5);

B:makelist(i,i,-5,5);

C:makelist(a[i],i,1,5);

Calculate

makelist-sum

a : [1,-1];

b : [0,1];

av : [1,-1];

Calculate

makelist-plot2d-sum
plot2d(g(x),[x,0,10],[style,[lines,2,1]],[legend,"grafico"]);

lista1:makelist(n,n,1...

lista2:[1,3,5,7,9,11];

soma:sum(lista1[n],n,...

Calculate

makelist

n:10;

makelist(n, n, [1/n]);

Calculate

makelist

makelist(1/n, n, [1, ...

Calculate

makelist-plot2d
plot2d([discrete,x,y]);

y: [1.38072,1.7515,1....

x: makelist(i,i,-150,...

plot2d([discrete,x,y]);

Calculate

makelist

f(x):=a/x^2;

X:makelist(i,i,1,20);

f(X);

Calculate

makelist

makelist(146*k,k,0,10);

makelist(7*k+1,k,20,1...

Calculate

makelist-plot2d-sin
plot2d([discrete,a]);

a: makelist([x,sin(x)...

plot2d([discrete,a]);

Calculate

makelist

makelist(makelist(I^i...

Calculate