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

a:makelist(5*n-3,n,1,5);

b:makelist(20-2*n,n,1...

c:makelist(n^2-6*n,n,...

Calculate

makelist

"*"/* WERTETABELLEN */;

"*"/* Eingabe Bereic...

ug:-5;

Calculate

makelist

makelist(makelist(I^i...

Calculate

makelist-numer-sum

g:0.57721566490153286...

l:makelist(sum(1/k,k,...

Calculate

makelist-numer-sum

g:0.57721566490153286...

l:makelist(sum(1/k,k,...

Calculate

makelist

makelist(i^2,i,1,3);

Calculate

makelist-mod

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

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

Calculate

makelist-random_permutation-rest-sort

n:32;

c:makelist(i,i,1,n);

l:random_permutation(c);

Calculate

makelist-random

ma:makelist(random(10...

Calculate

makelist-transpose

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

u:v+2;

x:u^2-v^2;

Calculate