Sponsored links: Algebra eBooks
 

Related

makelist-matrix-transpose

s(n):=makelist(i,i,1,n);

x:makelist(i,i,1,9);

y:makelist(s(i),i,1,9);

Calculate

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

y: [5.72382,5.66241,8...

x: makelist(i,i,-92,1...

plot2d([discrete,x,y]);

Calculate

makelist

(makelist(219+15*i,i,...

Calculate

makelist

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

Calculate

makelist

a:10;

makelist (a*2,a*2,a,30);

Calculate

makelist

makelist(x^2,x,1,6);

Calculate

makelist-rhs-solve

makelist(rhs(k),k,sol...

Calculate

makelist-subst-sum

makelist((m^3/3)+(m^2...

sum(k^2, k, 1, 1);

sum(k^2, k, 1, 2);

Calculate

makelist

f[1]:0;

f[n]:=f[n-1]+1;

makelist(f[n], n, 1, ...

Calculate

makelist

Run Example
(%i1)f(x) := mod(2^x, 101);
                                          x
(%o1)                        f(x) := mod(2 , 101)
(%i2) l: makelist ( mod((f(x))^1024, 101), x, 1, 101);
(%o2) [5, 25, 24, 19, 95, 71, 52, 58, 88, 36, 79, 92, 56, 78, 87, 31, 54, 68, 
37, 84, 16, 80, 97, 81, 1, 5, 25, 24, 19, 95, 71, 52, 58, 88, 36, 79, 92, 56, 
78, 87, 31, 54, 68, 37, 84, 16, 80, 97, 81, 1, 5, 25, 24, 19, 95, 71, 52, 58, 
88, 36, 79, 92, 56, 78, 87, 31, 54, 68, 37, 84, 16, 80, 97, 81, 1, 5, 25, 24, 
19, 95, 71, 52, 58, 88, 36, 79, 92, 56, 78, 87, 31, 54, 68, 37, 84, 16, 80, 
97, 81, 1, 5]
(%i3) 
Run Example
kill(all);
(%o0)                                done
(%i1) Punkt:[[5,12],[10,27],[20,94],[30,209],[40,426],[50,870]];
(%o1)   [[5, 12], [10, 27], [20, 94], [30, 209], [40, 426], [50, 870]]
(%i2) n:length(Punkt);
(%o2)                                  6
(%i3) Grad:n-1;
(%o3)                                  5
(%i4) g(x):=x[2]=sum(a[i]*x[1]^(n-i),i,1,Grad)+a[n];
                                      n - i
(%o4)            g(x) := x  = sum(a  x     , i, 1, Grad) + a
                          2        i  1                     n
(%i5) Gleichungen:map(g,Punkt);
(%o5) [12 = a  + 5 a  + 25 a  + 125 a  + 625 a  + 3125 a , 
             6      5       4        3        2         1
27 = a  + 10 a  + 100 a  + 1000 a  + 10000 a  + 100000 a , 
      6       5        4         3          2           1
94 = a  + 20 a  + 400 a  + 8000 a  + 160000 a  + 3200000 a , 
      6       5        4         3           2            1
209 = a  + 30 a  + 900 a  + 27000 a  + 810000 a  + 24300000 a , 
       6       5        4          3           2             1
426 = a  + 40 a  + 1600 a  + 64000 a  + 2560000 a  + 102400000 a , 
       6       5         4          3            2              1
870 = a  + 50 a  + 2500 a  + 125000 a  + 6250000 a  + 312500000 a ]
       6       5         4           3            2              1
(%i6) Unbekannte:makelist(a[i],i,1,n);
(%o6)                      [a , a , a , a , a , a ]
                             1   2   3   4   5   6
(%i7) l:solve(Gleichungen,Unbekannte);
                29            323           103        1949         14699
(%o7) [[a  = --------, a  = -------, a  = - ----, a  = ----, a  = - -----, 
         1   42000000   2   1680000   3     7000   4   3360   5     4200
                                                                          117
                                                                     a  = ---]]
                                                                      6    7
(%i8) y=Unbekannte.makelist(x^(n-i),i,1,n),l;
                    5          4         3         2
                29 x      323 x     103 x    1949 x    14699 x   117
(%o8)      y = -------- + ------- - ------ + ------- - ------- + ---
               42000000   1680000    7000     3360      4200      7
(%i9) 
Run Example
X:makelist(i/324,i,500,510);
              125  167  251  503  14  505  253  169  127  509  85
(%o1)        [---, ---, ---, ---, --, ---, ---, ---, ---, ---, --]
              81   108  162  324  9   324  162  108  81   324  54
(%i2) f(x):=floor(x*100+0.5)/100.0;
                                  floor(x 100 + 0.5)
(%o2)                     f(x) := ------------------
                                        100.0
(%i3) map(f,X);
(%o3) [1.54, 1.55, 1.55, 1.55, 1.56, 1.56, 1.56, 1.56, 1.57, 1.57, 1.57]
(%i4) 
[addrow,append,block,copylist,copymatrix,delete,error,hipow,length,makelist,print,resultant,return,row,submatrix] [append,atom,block,delete,do,emptyp,freeof,if,indices,lambda,length,lmax,lmin,makelist,map,member,not,sublist_indices,subst] [append,block,buildq,emptyp,find_root,first,flatten,floor,kill,last,listp,makelist,not,rest,second,sin] [append,block,delete,do,emptyp,if,lambda,length,makelist,map,not,subst] [append,block,do,flatten,load,makelist,return] [append,block,do,length,makelist,return] [append,block,emptyp,find_root,first,flatten,floor,kill,last,listp,makelist,not,rest,second,sin] [append,block,length,makelist,return] [append,block,listify,makelist,primep,return,setify] [append,float,fpprintprec,makelist,phi,plot2d,product,realroots,sum] [append,makelist,random] [args,asin,atan2,block,cos,flatten,float,ident,length,make_random_state,makelist,matrix,set_random_state,sin,sqrt,subst,transpose] [args,asin,atan2,block,cos,flatten,float,ident,length,make_random_state,makelist,matrix,set_random_state,sin,sqrt,transpose] [bern,bfloat,block,fpprec,makelist,numer,return,sum] [bfloat,bftorat,block,ev,float2bf,makelist,mod,ratepsilon,ratprint,return] [bfloat,bftorat,block,float2bf,makelist,mod,ratepsilon,ratprint,return] [binomial,block,delta,determinant,do,expand,genmatrix,hipow,kron_delta,makelist,part,print,return,subst] [binomial,do,makelist,sum] [binomial,load,makelist] [block,concat,do,kill,makelist,obase,return,stringdisp,true,while] [block,cos,flatten,if,li,load,makelist,map,numer,outermap,plot2d,sin,sort,unique] [block,do,indices,lambda,makelist,map,mod,print,sublist_indices] [block,do,makelist,plot2d,while] [complex,domain,imagpart,makelist,plot2d,realpart] [cos,equal,makelist,sin,subst] [cos,flatten,li,load,makelist,map,numer,outermap,plot2d,sin,sort,unique] [diff,makelist,subst] [do,evenp,first,if,lambda,makelist,map,return,setify,subset] [equal,makelist,primep,sum,unknown] [equal,makelist,primep,unknown] [evenp,first,if,lambda,makelist,map,setify,subset] [evenp,if,lambda,makelist,map,setify,subset] [factor,kill,length,makelist,map,plot2d,rhs,solve,sum] [first,if,lambda,makelist,map,mod,setify,subset] [inf,makelist,numer,powerdisp,simpsum,sum,true] [inv_mod,makelist,mod] [kill,length,makelist,map,solve,sum] [lambda,makelist,map,numer] [length,makelist,reverse] [length,makelist,transpose] [length,makelist] [makelist,mod] [makelist,plot2d] [makelist,primep] [makelist,random] [makelist,solve] [makelist,subst,sum] [makelist,sum] [makelist,transpose] [makelist]

Related Help

Help for Makelist