### Related

powerdisp:true;

A:[6.16,-0.77];

B:[-6.16,0.77];

Calculate

##### powerdisp-sum-true

powerdisp:true;

m:(x[1]+x[2]+x[3]+x[4...

m:(1/n)*sum(x[i],i,1,n);

Calculate

powerdisp:true;

(a+b)^2;

Calculate

? powerdisp ;

Calculate

##### powerdisp-solve-true

powerdisp:true;

X:[0,10,10,9,7,6,9,2,...

parabel(x,y):=y=a*x^2...

Calculate

##### powerdisp-true

vx : [x1, x2, x3];

n : [1, 2, 3];

vx . n;

Calculate

##### powerdisp-true

"*"/* Die Koeffizient...

powerdisp:true;

A: matrix( [4,1,1,1],...

Calculate

##### powerdisp-true

powerdisp:true;

"*"/* Die Koeffizient...

A: matrix( [4,1,1,1],...

Calculate

? powerdisp;

Calculate

##### powerdisp-true

powerdisp:true;

"*"/* Die Koeffizient...

A: matrix( [4,1,1,1],...

Calculate

### powerdisp

Run Example
```(%i1)powerdisp:true;
(%o1)                                true
(%i2) (a+b)^2,expand;
2            2
(%o2)                           a  + 2 a b + b
(%i3) (a-b)^2,expand;
2            2
(%o3)                           a  - 2 a b + b
(%i4) (a+b)*(a-b),expand;
2    2
(%o4)                               a  - b
(%i5) (a+b)^3,expand;
3      2          2    3
(%o5)                      a  + 3 a  b + 3 a b  + b
(%i6) (a-b)^3,expand;
3      2          2    3
(%o6)                      a  - 3 a  b + 3 a b  - b
(%i7) (a+b)^4,expand;
4      3        2  2        3    4
(%o7)                 a  + 4 a  b + 6 a  b  + 4 a b  + b
(%i8) (a-b)^4,expand;
4      3        2  2        3    4
(%o8)                 a  - 4 a  b + 6 a  b  - 4 a b  + b
(%i9) ```
Run Example
```""/* MATRIZENMULTIPLIKATION */;
(%o1)
(%i2) kill(all);
(%o0)                                done
(%i1) powerdisp:true;
(%o1)                                true
(%i2) h[i,j]:=a[i,j];
(%o2)                           h     := a
i, j     i, j
(%i3) g[i,j]:=b[i,j];
(%o3)                           g     := b
i, j     i, j
(%i4) A:genmatrix(h,3,3);
[ a      a      a     ]
[  1, 1   1, 2   1, 3 ]
[                     ]
(%o4)                       [ a      a      a     ]
[  2, 1   2, 2   2, 3 ]
[                     ]
[ a      a      a     ]
[  3, 1   3, 2   3, 3 ]
(%i5) B:genmatrix(g,3,2);
[ b      b     ]
[  1, 1   1, 2 ]
[              ]
(%o5)                          [ b      b     ]
[  2, 1   2, 2 ]
[              ]
[ b      b     ]
[  3, 1   3, 2 ]
(%i6) C:A.B;
[ a     b     + a     b     + a     b     ]
[  1, 1  1, 1    1, 2  2, 1    1, 3  3, 1 ]
[                                         ]
(%o6)  Col 1 = [ b     a     + b     a     + a     b     ]
[  1, 1  2, 1    2, 1  2, 2    2, 3  3, 1 ]
[                                         ]
[ b     a     + b     a     + b     a     ]
[  1, 1  3, 1    2, 1  3, 2    3, 1  3, 3 ]
[ a     b     + a     b     + a     b     ]
[  1, 1  1, 2    1, 2  2, 2    1, 3  3, 2 ]
[                                         ]
Col 2 = [ b     a     + a     b     + a     b     ]
[  1, 2  2, 1    2, 2  2, 2    2, 3  3, 2 ]
[                                         ]
[ b     a     + b     a     + b     a     ]
[  1, 2  3, 1    2, 2  3, 2    3, 2  3, 3 ]
(%i7) M:matrix([a,b,c]);
(%o7)                             [ a  b  c ]
(%i8) D:transpose(M.C);
(%o8) matrix([(a     b     + a     b     + a     b    ) a
1, 1  1, 1    1, 2  2, 1    1, 3  3, 1
+ (b     a     + b     a     + a     b    ) b
1, 1  2, 1    2, 1  2, 2    2, 3  3, 1
+ (b     a     + b     a     + b     a    ) c],
1, 1  3, 1    2, 1  3, 2    3, 1  3, 3
[(a     b     + a     b     + a     b    ) a
1, 1  1, 2    1, 2  2, 2    1, 3  3, 2
+ (b     a     + a     b     + a     b    ) b
1, 2  2, 1    2, 2  2, 2    2, 3  3, 2
+ (b     a     + b     a     + b     a    ) c])
1, 2  3, 1    2, 2  3, 2    3, 2  3, 3
(%i9) liste:args(D);
(%o9) [[(a     b     + a     b     + a     b    ) a
1, 1  1, 1    1, 2  2, 1    1, 3  3, 1
+ (b     a     + b     a     + a     b    ) b
1, 1  2, 1    2, 1  2, 2    2, 3  3, 1
+ (b     a     + b     a     + b     a    ) c],
1, 1  3, 1    2, 1  3, 2    3, 1  3, 3
[(a     b     + a     b     + a     b    ) a
1, 1  1, 2    1, 2  2, 2    1, 3  3, 2
+ (b     a     + a     b     + a     b    ) b
1, 2  2, 1    2, 2  2, 2    2, 3  3, 2
+ (b     a     + b     a     + b     a    ) c]]
1, 2  3, 1    2, 2  3, 2    3, 2  3, 3
(%i10) ""/* Das Ergebnis für g */;
(%o10)
(%i11) g:liste[1];
(%o11) [(a     b     + a     b     + a     b    ) a
1, 1  1, 1    1, 2  2, 1    1, 3  3, 1
+ (b     a     + b     a     + a     b    ) b
1, 1  2, 1    2, 1  2, 2    2, 3  3, 1
+ (b     a     + b     a     + b     a    ) c]
1, 1  3, 1    2, 1  3, 2    3, 1  3, 3
(%i12) ""/* Das Ergebnis für h */;
(%o12)
(%i13) h:liste[2];
(%o13) [(a     b     + a     b     + a     b    ) a
1, 1  1, 2    1, 2  2, 2    1, 3  3, 2
+ (b     a     + a     b     + a     b    ) b
1, 2  2, 1    2, 2  2, 2    2, 3  3, 2
+ (b     a     + b     a     + b     a    ) c]
1, 2  3, 1    2, 2  3, 2    3, 2  3, 3
(%i14) ```
Run Example
```""/* MATRIZENMULTIPLIKATION */;
(%o1)
(%i2) kill(all);
(%o0)                                done
(%i1) powerdisp:true;
(%o1)                                true
(%i2) h[i,j]:=a[i,j];
(%o2)                           h     := a
i, j     i, j
(%i3) g[i,j]:=b[i,j];
(%o3)                           g     := b
i, j     i, j
(%i4) A:genmatrix(h,3,3);
[ a      a      a     ]
[  1, 1   1, 2   1, 3 ]
[                     ]
(%o4)                       [ a      a      a     ]
[  2, 1   2, 2   2, 3 ]
[                     ]
[ a      a      a     ]
[  3, 1   3, 2   3, 3 ]
(%i5) B:genmatrix(g,3,2);
[ b      b     ]
[  1, 1   1, 2 ]
[              ]
(%o5)                          [ b      b     ]
[  2, 1   2, 2 ]
[              ]
[ b      b     ]
[  3, 1   3, 2 ]
(%i6) C:A.B;
[ a     b     + a     b     + a     b     ]
[  1, 1  1, 1    1, 2  2, 1    1, 3  3, 1 ]
[                                         ]
(%o6)  Col 1 = [ b     a     + b     a     + a     b     ]
[  1, 1  2, 1    2, 1  2, 2    2, 3  3, 1 ]
[                                         ]
[ b     a     + b     a     + b     a     ]
[  1, 1  3, 1    2, 1  3, 2    3, 1  3, 3 ]
[ a     b     + a     b     + a     b     ]
[  1, 1  1, 2    1, 2  2, 2    1, 3  3, 2 ]
[                                         ]
Col 2 = [ b     a     + a     b     + a     b     ]
[  1, 2  2, 1    2, 2  2, 2    2, 3  3, 2 ]
[                                         ]
[ b     a     + b     a     + b     a     ]
[  1, 2  3, 1    2, 2  3, 2    3, 2  3, 3 ]
(%i7) M:matrix([a,b,c]);
(%o7)                             [ a  b  c ]
(%i8) transpose(M.C);
(%o8) matrix([(a     b     + a     b     + a     b    ) a
1, 1  1, 1    1, 2  2, 1    1, 3  3, 1
+ (b     a     + b     a     + a     b    ) b
1, 1  2, 1    2, 1  2, 2    2, 3  3, 1
+ (b     a     + b     a     + b     a    ) c],
1, 1  3, 1    2, 1  3, 2    3, 1  3, 3
[(a     b     + a     b     + a     b    ) a
1, 1  1, 2    1, 2  2, 2    1, 3  3, 2
+ (b     a     + a     b     + a     b    ) b
1, 2  2, 1    2, 2  2, 2    2, 3  3, 2
+ (b     a     + b     a     + b     a    ) c])
1, 2  3, 1    2, 2  3, 2    3, 2  3, 3
(%i9) ```

### Related Help

Help for Powerdisp