Sponsored links: Algebra eBooks
 

Related

arraymake-binomial-do-kill-load-print

kill(all);

load("simplify_sum");

arraymake(A,[11]);

Calculate

arraymake

arraymake(A,[12,13,14]);

A(1);

Calculate

arraymake-fillarray-make_array-makelist

arraymake (A, [1]);

arraymake (A, [k]);

arraymake (A, [i, j,...

Calculate

arraymake

arraymake(A,[12,13,14]);

A(1);

Calculate

arraymake

arraymake(A,[12,13,14]);

A[1];

Calculate

arraymake

? arraymake;

Calculate

arraymake-fillarray-make_array-makelist

arraymake (A, [1]);

arraymake (A, [k]);

arraymake (A, [i, j,...

Calculate

arraymake-subvar

x : foo ;

i : 3 ;

subvar (x, i);

Calculate

arraymake

Run Example
(%i1)arraymake (a, [1]);
(%o1)                                 a
                                       1
(%i2)  arraymake (a, [k]);
(%o2)                                 a
                                       k
(%i3)  arraymake (a, [i, j, 3]);
(%o3)                              a
                                    i, j, 3
(%i4)  array (a, fixnum, 10);
(%o4)                                  a
(%i5)  fillarray (a, makelist (i^2, i, 1, 11));
(%o5)                                  a
(%i6)  arraymake (a, [5]);
(%o6)                                 a
                                       5
(%i7)  ''%;
(%o7)             (%i8)  l : [a, b, c, d, e];
(%o8)                           [a, b, c, d, e]
(%i9)  arraymake ('l, [n]);
(%o9)                                 l
                                       n
(%i10)  ''%, n = 3;
(%o10)            (%i11)  a2 : make_array (fixnum, 10);
(%o11)                 {Array:  #(0 0 0 0 0 0 0 0 0 0)}
(%i12)  fillarray (a2, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
(%o12)                 {Array:  #(1 2 3 4 5 6 7 8 9 10)}
(%i13)  arraymake ('a2, [8]);
(%o13)                                a2
                                        8
(%i14)  ''%;
(%o14)            
Run Example
Kill(all);
(%o1)                              Kill(all)
(%i2) Load("simplify_sum");
(%o2)                         Load(simplify_sum)
(%i3) arraymake(A,[10]);
(%o3)                                 A
                                       10
(%i4) for n:0 thru 10 do(print(A[n]:(binomial(n,n-k),k,0,1)));
1 
1 
1 
1 
1 
1 
1 
1 
1 
1 
1 
(%o4)                                done
(%i5) a:sum(A[n]*x^(n),n,0,10);
               10    9    8    7    6    5    4    3    2
(%o5)         x   + x  + x  + x  + x  + x  + x  + x  + x  + x + 1
(%i6) b:Taylor(1/(1-x),x,0,10);
                                     1
(%o6)                       Taylor(-----, x, 0, 10)
                                   1 - x
(%i7) 
Run Example
kill(all);
(%o0)                                done
(%i1) load("simplify_sum");
(%o1)  /usr/share/maxima/5.21.1/share/contrib/solve_rec/simplify_sum.mac
(%i2) arraymake(A,[11]);
(%o2)                                 A
                                       11
(%i3) for n:0 thru 10 do(print(A[n]:binomial(n,0)*(-1)^n));
1 
- 1 
1 
- 1 
1 
- 1 
1 
- 1 
1 
- 1 
1 
(%o3)                                done
(%i4) a:sum(A[n]*x^n,n,0,10);
               10    9    8    7    6    5    4    3    2
(%o4)         x   - x  + x  - x  + x  - x  + x  - x  + x  - x + 1
(%i5) b:taylors((1+x)^(-1),x,0,10);
                                     1
(%o5)                      taylors(-----, x, 0, 10)
                                   x + 1
(%i6) 

Related Help

Help for Arraymake