Sponsored links: Algebra eBooks
 

Related

length-makelist-print-printf

Ko:[1000,1000,2000,30...

p:[3,2.25,1.875,2.5,...

n:[10,10,9,3,7,6];

Calculate

length-matrix

W_init:matrix([0,­1,1...

/* initialisation de...

/* initialisation de...

Calculate

length-load

load(descriptive);

load(numericalio);

s:[2,3,6,8,1,7,6,3,3,...

Calculate

length-makelist-map-powerset-setify

Dreieck:[[[1, 5], [5,...

n:length(Dreieck);

f(x):=setify(Dreieck[...

Calculate

length-listify-makelist-map-powerset-setify-sort-sqrt

Dreieck:[[[1, 5], [5,...

n:length(Dreieck);

f(x):=setify(Dreieck[...

Calculate

length

function [f, a, d] = ...

x=[1,2,4,7,8];

n = length([1,2,3,6,5]);

Calculate

length-makelist-map-solve-sum

Punkt:[[0,1000],[9,30...

n:length(Punkt);

Grad:n-1;

Calculate

length-load-var

load(descriptive);

load(numericalio);

s:[4,17,22,95,47,32,1...

Calculate

length-load-sum

x:[3,4,1,3,5,5,3,1,2,...

load(descriptive);

gruppierung:discrete_...

Calculate

length-load-var

load(descriptive);

load(numericalio);

s:[2,12,28,17,14,47,7...

Calculate

length

Run Example
(%i1)kill(all);
(%o0)                                done
(%i1) Flows: [-500, 200, 250, 300, 400];
(%o1)                     [- 500, 200, 250, 300, 400]
(%i2) NPV: sum(Flows[i]/((1+0.20)^(i-1)), i, 1, length(Flows));
(%o2)                          206.7901234567902
(%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
numer:true;
(%o1)                                true
(%i2) x:[166,187,169,191,175,161,176,170,195,197,187,168,171,161,173];
(%o2) [166, 187, 169, 191, 175, 161, 176, 170, 195, 197, 187, 168, 171, 161, 
                                                                           173]
(%i3) n:length(x);
(%o3)                                 15
(%i4) m:1/n*sum(x[i],i,1,n);
(%o4)                          176.4666666666667
(%i5) v:1/n*sum((x[i]-m)^2,i,1,n);
(%o5)                          133.3155555555556
(%i6) s:sqrt(v);
(%o6)                          11.54623555777187
(%i7) display(m,v,s);
                             m = 176.4666666666667

                             v = 133.3155555555556

                             s = 11.54623555777187

(%o7)                                done
(%i8) 
[abs,do,if,is,length,map,ratsimp,realroots,solve] [addcol,addrow,diff,ev,genmatrix,invert,kill,length,lmax,lmin,load,matrix,plot2d,romberg,sqrt,submatrix] [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,ceiling,emptyp,ev,first,flatten,floor,if,length,makelist,not,second] [append,block,ceiling,emptyp,first,flatten,floor,if,length,makelist,not,second] [append,block,delete,do,emptyp,if,lambda,length,makelist,map,not,subst] [append,block,delete,flatten,lambda,length,makelist,map,return] [append,block,do,length,makelist,return] [append,block,length,makelist,return] [append,block,length,return] [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] [block,charlist,concat,length,print,tokens] [block,declare,dim,emptyp,evfun,false,get,if,length,not,sqrt] [block,delete,emptyp,if,lambda,length,makelist,map,not,subst] [block,depends,diff,exp,first,length,rhs,solve,subst] [block,do,if,length,while] [block,length,makelist,print] [block,length,map,matrix,print,return] [block,length,ratsimp,sum,tab] [cf,length,sqrt] [col,echelon,length,matrix] [create_list,ev,float,length,load,matrix,plot2d] [do,if,is,length,map,ratsimp,realroots,solve,subst] [ev,length] [exp,last,length,sum] [factor,kill,length,makelist,map,plot2d,rhs,solve,sum] [find_root,float,length,solve,sum] [floor,length,load,sum] [floor,length,sum] [integer_partitions,length] [is,length,split,string] [kill,length,makelist,map,solve,sum] [lambda,length,let] [length,listify,makelist,permutations] [length,load,sum] [length,load,var] [length,makelist,plot2d,points,rk] [length,makelist,plot2d,reverse,solve] [length,makelist,reverse] [length,makelist,transpose] [length,makelist] [length,map,realroots,solve] [length,numer,pi,plot2d,sqrt,tan] [length,numer,sum] [length,solve,sum] [length,sqrt,sum] [length,sum] [length]

Related Help

Help for Length