Sponsored links: Algebra eBooks
 

Related

algsys

eq1:-2*x+2*y+2*x=0;

eq2:2*x-2*y+2*x=0;

algsys([eq1,eq2],[x,y]);

Calculate

algsys

ec1:(3/2)*v1*v1+2*v2*v2;

ec2:3*v1+4*v2;

algsys([ec1,ec2],[v1,...

Calculate

algsys-diff

f(x,y):=-(x^2-1)^2-(x...

eqx=diff(f(x,y),x);

eqy=diff(f(x,y),y);

Calculate

algsys-factor-realonly-true

p1 : x^4 + x^3 - x^2 ...

factor (p1);

algsys ([p1], [x]), r...

Calculate

algsys-diff

f:x^3+y^3-(3*x)-(12*y...

fx:diff(f,x);

fy:diff(f,y);

Calculate

algsys-realonly-solve-true

f:x^3-(a-1)*x^2+a^2*x...

p:solve(f,x);

algsys([p],[x]), real...

Calculate

algsys-false-realonly-solve-true

eqn1:a^3+2*a^2+9*a+18=0;

algsys([eqn1],[a]),re...

solve(eqn1,a),realonl...

Calculate

algsys-define-diff

f(x,y):=4-(x-1)^2-(y-...

define(fx(x,y),diff(f...

define(fy(x,y),diff(f...

Calculate

algsys-diff

f:x^3+y^3-(3*x)-(12*y...

fx:diff(f,x);

fy:diff(f,y);

Calculate

algsys

algsys([x1+3*x3+8*x4=...

Calculate

algsys

Run Example
(%i1)f1:(-ys*e2x+vx)^2+(-ys*e2y+vy)^2=r^2;
                                  2                2    2
(%o1)                (vy - e2y ys)  + (vx - e2x ys)  = r
(%i2) f2:(-xs*e1x+vx)^2+(-xs*e1y+vy)^2=r^2;
                                  2                2    2
(%o2)                (vy - e1y xs)  + (vx - e1x xs)  = r
(%i3) algsys([f1,f2],[vx,vy]);
(%o3)                                 []
(%i4) 
Run Example
load(vect);
(%o1)           /usr/share/maxima/5.21.1/share/vector/vect.mac
(%i2) es:[gx=L1*x1+L2*x2,gy=L1*y1+L2*y2,gz=L1*z1+L2*z2];
(%o2)    [gx = x2 L2 + x1 L1, gy = y2 L2 + y1 L1, gz = z2 L2 + z1 L1]
(%i3) algsys(es,[L1,L2]);
(%o3)                                 []
(%i4) %rnum_list;
(%o4)                                 []
(%i5) 
Run Example
modulus:2;
(%o1)                                  2
(%i2)  N:2;
(%o2)                                  2
(%i3)   block( P:0, Vars:[], Sol:zeromatrix(N,N), for i: 1 thru N do ( for j: 1 thru N do ( S:zeromatrix(N+2,N+2), S[i ][j ]:1, S[i ][j+1]:1,  S[i ][j+2]:1, S[i+1][j ]:1, S[i+1][j+2]:1, S[i+2][j ]:1, S[i+2][j+1]:1, S[i+2][j+2]:1, S:submatrix (1,N+2,S,1,N+2), P:P+V[i*N+j]*S, Vars: append(Vars, [V[i*N+j]]), Sol[i][j]:V[i*N+j]) ) );
(%o3)                                done
(%i4)  P;
                        [ V  + V  + V   V  + V  + V  ]
                        [  6    5    4   6    5    3 ]
(%o4)                   [                            ]
                        [ V  + V  + V   V  + V  + V  ]
                        [  6    4    3   5    4    3 ]
(%i5)  Vars;
(%o5)                          [V , V , V , V ]
                                 3   4   5   6
(%i6)  R:zeromatrix(N,N)+1;
                                   [ 1  1 ]
(%o6)                              [      ]
                                   [ 1  1 ]
(%i7)  LGS:xreduce('append ,args(P-R));
(%o7) [V  + V  + V  - 1, V  + V  + V  - 1, V  + V  + V  - 1, V  + V  + V  - 1]
        6    5    4       6    5    3       6    4    3       5    4    3
(%i8)  Res:algsys(LGS, Vars);
(%o8)                 [[V  = 1, V  = 1, V  = 1, V  = 1]]
                         3       4       5       6
(%i9)  append([l=Sol],Res[1]);
                    [ V   V  ]
                    [  3   4 ]
(%o9)          [l = [        ], V  = 1, V  = 1, V  = 1, V  = 1]
                    [ V   V  ]   3       4       5       6
                    [  5   6 ]
(%i10) 

Related Help

Help for Algsys