### Related

1;

1;

1;

Calculate

##### coeff-expand-resultant

g1:z^3+a*z+b;

g2:(p*y+u)*z^2+(q*y+v...

h:expand(resultant(g2...

Calculate

##### coeff-expand-resultant

f:x^5+a*x^3+b*x^2+c ;

g:x^2+y*x+q;

h:expand(resultant(f,...

Calculate

##### coeff-expand-factor-num-rat-rhs-solve-subst

mbc: (yc-yb)/(xc-xb);

mca: (ya-yc)/(xa-xc);

eq1: y-ya=-1/mbc*(x-xa);

Calculate

##### coeff-expand-factor-resultant

f:x^4+a*x+b ;

g:x^2+p*x+y ;

h:resultant(f,g,x) ;

Calculate

##### coeff-expand-remainder-resultant

A:u^4+p*u+q;

B:a*v^3+b*v^2+c*v+d-u...

C:v^4-k;

Calculate

##### coeff-expand-rat-resultant-subst

f:x^4+4*a*x+b ;

g:x^4+p*x^3+q*x^2+r*x...

g1: subst([k=k],g) ;

Calculate

##### coeff-hipow-makelist-num-rat-solve-subst-sum

trsf: y=x^2+A*x+B+A/x...

eq: sum(aa[ii]*x^ii+a...

eq1: a*y^2+b*y+c;

Calculate

##### coeff-do-ev-expand-hipow-linsolve-nterms-num-part-print-while

ans:(ev(Iout,linsolve...

valueList:[gmA=10e-3,...

trunkTh:0.1;

Calculate

##### coeff-expand-sum

expand((x+y)*(y+z)*(z...

f:expand((x^2)/k*(1/x...

t:expand(-coeff(f,x,2...

Calculate

### coeff

Run Example
```(%i1)1;
(%o1)                                  1
(%i2) 1;
(%o2)                                  1
(%i3) 1;
(%o3)                                  1
(%i4) 1;
(%o4)                                  1
(%i5) 1;
(%o5)                                  1
(%i6) 1;
(%o6)                                  1
(%i7) 1;
(%o7)                                  1
(%i8) 1;
(%o8)                                  1
(%i9) 1;
(%o9)                                  1
(%i10) 1;
(%o10)                                 1
(%i11) 1;
(%o11)                                 1
(%i12) 1;
(%o12)                                 1
(%i13) 1;
(%o13)                                 1
(%i14) 1;
(%o14)                                 1
(%i15) 1;
(%o15)                                 1
(%i16) 1;
(%o16)                                 1
(%i17) 1;
(%o17)                                 1
(%i18) 1;
(%o18)                                 1
(%i19) A:u^4+p*u+q;
4
(%o19)                           u  + p u + q
(%i20) B:a*u^2+b*u*v+c*u+d*v+e;
2
(%o20)                   b u v + d v + a u  + c u + e
(%i21) C:factor(resultant(A,B,u));
4    4    3      4    4  4        2      3      3      3    3      3
(%o21) b  q v  - b  d p v  + d  v  - 4 a b  d q v  + 4 b  c q v  - b  e p v
2    3      2        3      3    3        2      2      2  2    2
+ 3 a b d  p v  - 3 b  c d p v  + 4 d  e v  - 4 a b  e q v  + 2 a  d  q v
2      2  2    2                2      2        2
- 8 a b c d q v  + 6 b  c  q v  + 6 a b d e p v  - 3 b  c e p v
2    2        2      2      2  2  2    3              2
+ 3 a c d  p v  - 3 b c  d p v  + 6 d  e  v  - a  b p q v + 4 a  d e q v
2              3        3    2            2
- 8 a b c e q v - 4 a c  d q v + 4 b c  q v + a  d p  v + 3 a b e  p v
2          3              3      4  2    3
+ 6 a c d e p v - 3 b c  e p v - c  d p v + 4 d e  v + a  q  - a  c p q
2  2          2        4      3    2          2      3        4
+ 2 a  e  q - 4 a c  e q + c  q + a  e p  + 3 a c e  p - c  e p + e
(%i22) D1:factor(coeff(C,v));
3            2                            2            3      3    2
(%o22) - (a  b p q - 4 a  d e q + 8 a b c e q + 4 a c  d q - 4 b c  q - a  d p
2                        2        3            3
- 3 a b e  p - 6 a c d e p + 3 b c  e p + c  d p - 4 d e )
(%i23) D2:factor(coeff(C,v,2));
2          2  2                      2  2
(%o23) - (4 a b  e q - 2 a  d  q + 8 a b c d q - 6 b  c  q - 6 a b d e p
2                2          2          2  2
+ 3 b  c e p - 3 a c d  p + 3 b c  d p - 6 d  e )
(%i24) D3:factor(coeff(C,v,3));
2          3        3              2        2            3
(%o24) - (4 a b  d q - 4 b  c q + b  e p - 3 a b d  p + 3 b  c d p - 4 d  e)
(%i25) D4:coeff(C,v,4);
4      3        4
(%o25)                        b  q - b  d p + d
(%i26) D5:coeff(C,v,5);
(%o26)                                 0
(%i27) ```
Run Example
```M: 1/((1-(a+b+c+d+e+f+g))*(1-a)*(1-b)*(1-c)*(1-d)*(1-e)*(1-f)*(1-g));
(%o1) 1/((1 - a) (1 - b) (1 - c) (1 - d) (1 - e) (1 - f) (1 - g)
(- g - f - e - d - c - b - a + 1))
(%i2) I: a+b+c+d+e*a*(a+b+c+d+e+f+g*(a+b+c*(a+b+c+d*(a+b+c+d+e+f*(a+b*(a+b+c+d))))));
(%o2) a e ((c (d ((b (d + c + b + a) + a) f + e + d + c + b + a) + c + b + a)
+ b + a) g + f + e + d + c + b + a) + d + c + b + a
(%i3) coeff(a*c^2/b,a*c^2);
(%o3)                                  0
(%i4) ```
Run Example
```1;
(%o1)                                  1
(%i2) 1;
(%o2)                                  1
(%i3) 1;
(%o3)                                  1
(%i4) 1;
(%o4)                                  1
(%i5) 1;
(%o5)                                  1
(%i6) 1;
(%o6)                                  1
(%i7) 1;
(%o7)                                  1
(%i8) 1;
(%o8)                                  1
(%i9) 1;
(%o9)                                  1
(%i10) 1;
(%o10)                                 1
(%i11) 1;
(%o11)                                 1
(%i12) 1;
(%o12)                                 1
(%i13) 1;
(%o13)                                 1
(%i14) 1;
(%o14)                                 1
(%i15) 1;
(%o15)                                 1
(%i16) 1;
(%o16)                                 1
(%i17) 1;
(%o17)                                 1
(%i18) 1;
(%o18)                                 1
(%i19) 1;
(%o19)                                 1
(%i20) 1;
(%o20)                                 1
(%i21) 1;
(%o21)                                 1
(%i22) 1;
(%o22)                                 1
(%i23) 1;
(%o23)                                 1
(%i24) 1;
(%o24)                                 1
(%i25) 1;
(%o25)                                 1
(%i26) 1;
(%o26)                                 1
(%i27) 1;
(%o27)                                 1
(%i28) 1;
(%o28)                                 1
(%i29) 1;
(%o29)                                 1
(%i30) 1;
(%o30)                                 1
(%i31) A:u^4+4*p*u+3*q;
4
(%o31)                         u  + 4 p u + 3 q
(%i32) B:a*u*u+p*u*v+a*b*u+q*v;
2
(%o32)                    p u v + q v + a u  + a b u
(%i33) C:expand(resultant(A,B,u));
4  4    4    4      2  3  2       2      2  2      2  2  2    2
(%o33) q  v  - p  q v  + 6 a  q  v  - 12 a  b p q  v  + 6 a  b  p  q v
3  2  2        3  2          3  3            4  2       4
- 12 a  b  q  v + 4 a  p  q v + 8 a  b  p q v + 9 a  q  - 12 a  b p q
4  4
+ 3 a  b  q
(%i34) D0:factor(coeff(C,v,0));
4                   4
(%o34)                     3 a  q (3 q - 4 b p + b )
(%i35) D1:factor(coeff(C,v));
3       2      2      3
(%o35)                  - 4 a  q (3 b  q - p  - 2 b  p)
(%i36) D2:factor(coeff(C,v,2));
2            2
(%o36)                         6 a  q (q - b p)
(%i37) D3:factor(coeff(C,v,3));
(%o37)                                 0
(%i38) D4:factor(coeff(C,v,4));
3    4
(%o38)                            q (q  - p )
(%i39) E:factor(resultant(expand(0/12/p),expand(D3/8),d));
(%o39)                                 1
(%i40)  F:solve(D2=0,z);
(%o40)                                []
(%i41) G:subst(d=q+sqrt(q^2+p^3),z);
(%o41)                                 z
(%i42) H:expand(G);
(%o42)                                 z
(%i43) J:ratsimp(H);
(%o43)                                 z
(%i44) K:factor(J);
(%o44)                                 z
(%i45) ```

Help for Coeff