Sponsored links: Algebra eBooks
 

Related

linsolve

u1:s11*t1+d31*e3=s1;

u2:s12*t2+d31*e3=s1;

u3:s13*t3+d31*e3=s1;

Calculate

linsolve

eq1: y = ((cQ-cA)/(s...

eq2: y = ((cB-1)/sB)...

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

Calculate

linsolve

eq1:nP+nC = 1;

eq2:258 = 108*(2-nC)*...

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

Calculate

linsolve

eq1:zi^2 =-z^2 + (zi/...

linsolve([eq1],[zi]);

Calculate

linsolve-sin

eq1:sin(x^2)=yeq2:x+2=y;

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

Calculate

linsolve

peu(x1,y1,z1,x2,y2,z2...

p1:peu(-1,2,a,4,a,-3);

p2:[-1,2,a].[4,a,-3];

Calculate

linsolve-print

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

eq2:x+2=y;

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

Calculate

linsolve

a:a0=u1*a1+ u2*a2 + u...

b:b0=u1*b1+ u2*b2 + u...

c:c0=u1*c1+ u2*c2 + u...

Calculate

linsolve

eq1: 1/(x+a) + 1/(x+b...

linsolve([eq1],[x]);

Calculate

linsolve-sqrt

peu(x1,y1,z1,x2,y2,z2...

Puv:peu(x,3,6,3,y,4);

norm(x,y,z):=sqrt(peu...

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