Sponsored links: Algebra eBooks
 

Related

linsolve

eq1:4*x+3*y=5;

eq2:8*x+6*y=10;

linsolve([eq1,eq2],[x...

Calculate

linsolve

eq1:7088.64*(Oc-0.3*A...

eq2:7088.64*(0.5*Oc-0...

eq3:21.33+13291.2*Oc=...

Calculate

linsolve

L1:2606;

L2:1864;

E:218087;

Calculate

linsolve-log

eq1:log(x*4)+y-2=0;

eq2:x+2=y;

linsolve([eq1,eq2],[x...

Calculate

linsolve

eq1:26-x^2-y^2;

eq2:x+4*y=17;

linsolve([eq1,eq2],[x...

Calculate

linsolve

d:3*x-3*y-18*z=15;

e:-2*x+3*y+14*z=-10;

f:2*x-1*y+a*z=9;

Calculate

linsolve

x=90;

linsolve(2*x);

Calculate

linsolve

eq1:x1+x2=40;

eq2:0.06*x1+1.60*x2=40;

linsolve([eq1,eq2],[x...

Calculate

linsolve

eq1:x*7+2=9;

linsolve([eq1],[x]);

Calculate

linsolve

eq1:(x+5*y-6*z=4);

eq2:(3*x-y+6*z=−1);

eq3:(5*x-23*y+42*z=-16);

Calculate

linsolve

Run Example
(%i1)eq1:i1=i2;
(%o1)                               i1 = i2
(%i2) eq2:i2=i3+i4;
(%o2)                            i2 = i4 + i3
(%i3) eq3:i4+i6=i7;
(%o3)                            i6 + i4 = i7
(%i4) eq4:i5=i6;
(%o4)                               i5 = i6
(%i5) eq5:v1=ug;
(%o5)                               v1 = ug
(%i6) eq6:i2=(v1-v2)/r1;
                                      v1 - v2
(%o6)                            i2 = -------
                                        r1
(%i7) eq7:i3=v2/r3;
                                         v2
(%o7)                               i3 = --
                                         r3
(%i8) eq8:i4=(v2-v3)/r2;
                                      v2 - v3
(%o8)                            i4 = -------
                                        r2
(%i9) eq9:v4=a*v2;
(%o9)                              v4 = a v2
(%i10) eq10:i6=(v4-v3)/r4;
                                      v4 - v3
(%o10)                           i6 = -------
                                        r4
(%i11) eq11:i7=v3/r5;
                                         v3
(%o11)                              i7 = --
                                         r5
(%i12) res:linsolve([eq1,eq2,eq3,eq4,eq5,eq6,eq7,eq8,eq9,eq10,eq11],[i1,i2,i3,i4,i5,i6,i7,v1,v2,v3,v4]);
(%o12) [i1 = ((r3 (a r5 - r5 - r4) - r4 r5 + r2 (- r5 - r4)) ug)
/(r1 (r3 (a r5 - r5 - r4) - r4 r5 + r2 (- r5 - r4))
 + r3 (r2 (- r5 - r4) - r4 r5)), i2 = ((r3 (a r5 - r5 - r4) - r4 r5
 + r2 (- r5 - r4)) ug)/(r1 (r3 (a r5 - r5 - r4) - r4 r5 + r2 (- r5 - r4))
 + r3 (r2 (- r5 - r4) - r4 r5)), i3 = - ((r2 (r5 + r4) + r4 r5) ug)
/(r1 (r3 (a r5 - r5 - r4) - r4 r5 + r2 (- r5 - r4))
 + r3 (r2 (- r5 - r4) - r4 r5)), i4 = (r3 (a r5 - r5 - r4) ug)
/(r1 (r3 (a r5 - r5 - r4) - r4 r5 + r2 (- r5 - r4))
 + r3 (r2 (- r5 - r4) - r4 r5)), i5 = - (r3 (a r5 - r5 + a r2) ug)
/(r1 (r3 (a r5 - r5 - r4) - r4 r5 + r2 (- r5 - r4))
 + r3 (r2 (- r5 - r4) - r4 r5)), i6 = - (r3 (a r5 - r5 + a r2) ug)
/(r1 (r3 (a r5 - r5 - r4) - r4 r5 + r2 (- r5 - r4))
 + r3 (r2 (- r5 - r4) - r4 r5)), i7 = - (r3 (r4 + a r2) ug)
/(r1 (r3 (a r5 - r5 - r4) - r4 r5 + r2 (- r5 - r4))
 + r3 (r2 (- r5 - r4) - r4 r5)), v1 = ug, 
v2 = - (r3 (r2 (r5 + r4) + r4 r5) ug)/(r1
 (r3 (a r5 - r5 - r4) - r4 r5 + r2 (- r5 - r4))
 + r3 (r2 (- r5 - r4) - r4 r5)), v3 = - (r3 (r4 r5 + a r2 r5) ug)
/(r1 (r3 (a r5 - r5 - r4) - r4 r5 + r2 (- r5 - r4))
 + r3 (r2 (- r5 - r4) - r4 r5)), v4 = - (r3 (a r2 (r5 + r4) + a r4 r5) ug)
/(r1 (r3 (a r5 - r5 - r4) - r4 r5 + r2 (- r5 - r4))
 + r3 (r2 (- r5 - r4) - r4 r5))]
(%i13)  res[10];
(%o13) v3 = - (r3 (r4 r5 + a r2 r5) ug)
/(r1 (r3 (a r5 - r5 - r4) - r4 r5 + r2 (- r5 - r4))
 + r3 (r2 (- r5 - r4) - r4 r5))
(%i14) 
Run Example
eq1:2*X+Y+Z=191.11;
(%o1)                        Z + Y + 2 X = 191.11
(%i2) eq2:X+2*Y+3*Z=693.73,eq3:X-3*Y-4*Z=-643.4;
(%o2)                       3 Z + 2 Y + X = 693.73
(%i3) linsolve([eq1,eq2,eq3],[X,Y,Z]);

rat: replaced -191.11 by -19111/100 = -191.11

rat: replaced -693.73 by -69373/100 = -693.73
(%o3)                                 []
(%i4) 
Run Example
eq1:x*4+y-2=y;
(%o1)                           y + 4 x - 2 = y
(%i2) eq2:x+2=y;
(%o2)                              x + 2 = y
(%i3) linsolve([eq1,eq2],[x,y]);
                                     1      5
(%o3)                           [x = -, y = -]
                                     2      2
(%i4)  solve([a = b*x+c*y, d=e*x+f*y], [x,y]);
                            c d - a f        b d - a e
(%o4)                 [[x = ---------, y = - ---------]]
                            c e - b f        c e - b f
(%i5) ratsimp(solve([-v1*z1 = z11*v1 + z12*v2 + z13*v3 + z13*v4, -v2*z2 = z21*v1 + z22*v2 + z23*v3 + z23*v4, -v3*z3 = z13*v1 + z23*v2 + z33*v3 + z34*v4, -z4*v4 = z13*v1+z23*v2+z34*v3+z33*v4], [z1, z2, z3, z4]));
               (v4 + v3) z13 + v2 z12 + v1 z11
(%o5) [[z1 = - -------------------------------, 
                             v1
       (v4 + v3) z23 + v2 z22 + v1 z21
z2 = - -------------------------------, 
                     v2
       v4 z34 + v3 z33 + v2 z23 + v1 z13
z3 = - ---------------------------------, 
                      v3
       v3 z34 + v4 z33 + v2 z23 + v1 z13
z4 = - ---------------------------------]]
                      v4
(%i6) eq1:0=(zc/%i)*(v1/a+v2/b)+h*i/(%i*w);
                                  v2   v1       %i h i
(%o6)                   0 = - %i (-- + --) zc - ------
                                  b    a          w
(%i7) eq2:0=(zc/%i)*(v1/b+v2/a)+h*i/(%i*w);
                                  v2   v1       %i h i
(%o7)                   0 = - %i (-- + --) zc - ------
                                  a    b          w
(%i8) eq3:u=(h/(%i*w))*(v1+v2)+i*t/(%i*w*eps*a);
                              %i h (v2 + v1)   %i i t
(%o8)                   u = - -------------- - -------
                                    w          a eps w
(%i9) ratsimp(solve([eq1,eq2,eq3], [i, v1, v2]));
                              2         2
                      (a b + a ) eps u w  zc
(%o9) [[i = - ---------------------------------------, 
                                           2        2
              (%i b + %i a) t w zc - 2 %i a  b eps h
                  2
                 a  b eps h u w
v1 = ---------------------------------------, 
                                  2        2
     (%i b + %i a) t w zc - 2 %i a  b eps h
                  2
                 a  b eps h u w
v2 = ---------------------------------------]]
                                  2        2
     (%i b + %i a) t w zc - 2 %i a  b eps h
(%i10) 

Related Help

Help for Linsolve