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>)

load (descriptive);
l1:makelist(random(10),k,1,50);
mean(l1);
mean(l1),numer;
M:mean(l1),numer;
SM:smin(l1),numer;
SN:smax(l1),numer;

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

H:100000;

p:8;

A:10000;

Calculate

makelist

lista:makelist([i,i*i...

Calculate

makelist

a:10;

makelist ((n+n),a,1,20);

Calculate

makelist

makelist(isprime(ii),...

Calculate

makelist-mod

makelist(mod(7*i,21),...

Calculate

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

y: [24.5743,28.218,30...

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

plot2d([discrete,x,y]);

Calculate

makelist

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

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

f(Y);

Calculate

makelist-mod

f(x) := mod(2^x, 101);

l: makelist ( mod((f(...

Calculate

makelist

makelist(makelist([n,...

Calculate

makelist-plot2d
plot2d(l, [x,-1,1]);

l:makelist(x^k,k,1,6);

l;

plot2d(l, [x,-1,1]);

Calculate