Results 1 to 3 of 3

Thread: Maple.. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    beginner engen's Avatar
    Join Date: May:2008
    Location: BG
    Posts: 32

    Maple.. .

    Maple 12. (|B).
    :
    x1 + 5x2 - 6x3 = 0
    x2 - x3 + 12x1 = 56
    13x1 - 14x2 + 2x3 = 23
    :
    1 5 -6 | 0
    12 1 -1 | 56
    13 -14 2 | 23 1, 2, 3..

    . ( ) . , . Augmented.
    tools/tutors/linear algebra/matrix builder, . , , ":=matrix[(....)]..."..

    , , , ..

  2. #2
    philosophus duratea icaci's Avatar
    Join Date: Oct:2006
    Location: Aachen
    Posts: 2,698
    Matlab, Maple . - linalg (Maple 11 ):
    Code:
    > restart: with(linalg):
    > eq1 := x1 + 5*x2 - 6*x3 = 0;   
                              eq1 := x1 + 5 x2 - 6 x3 = 0
    
    > eq2 := x2 - x3 + 12*x1 = 56;
                              eq2 := x2 - x3 + 12 x1 = 56
    
    > eq3 := 13*x1 - 14*x2 + 2*x3 = 23;
                           eq3 := 13 x1 - 14 x2 + 2 x3 = 23
    
    > eqlist := [eq1,eq2,eq3]; varlist := [x1,x2,x3];
    eqlist :=
    
        [x1 + 5 x2 - 6 x3 = 0, x2 - x3 + 12 x1 = 56, 13 x1 - 14 x2 + 2 x3 = 23]
    
                                varlist := [x1, x2, x3]
    
    > M := genmatrix(eqlist,varlist,`flag`);
                                  [ 1      5    -6     0]
                                  [                     ]
                             M := [12      1    -1    56]
                                  [                     ]
                                  [13    -14     2    23]
    
    > gaussjord(M);
                                 [               4167]
                                 [1    0    0    ----]
                                 [               889 ]
                                 [                   ]
                                 [               2847]
                                 [0    1    0    ----]
                                 [               889 ]
                                 [                   ]
                                 [               3067]
                                 [0    0    1    ----]
                                 [               889 ]
    `flag` genmatrix .
    Internet - it doesn't make you stupid, it just makes your stupidity more accessible to others

  3. #3
    beginner engen's Avatar
    Join Date: May:2008
    Location: BG
    Posts: 32
    :
    solve({-8*x+11*y-3*z = 5, -6*x-3*y+19*z = -3, 16*x-8*y-6*z = 0}, {x, y, z});
    R1, R2.. e1, e2... ?
    "solve.." :
    R1 = 1
    R2 = 2
    1 = 20 .. .. ?

    "solve.." x*(R1 + R2 ..) - y*R5... = e2 + e3 () :?

    : , , .. "solve" . , - , 1, 2.., .. restart; with(linalg); ? r1:=8:, r2:=6: .., . , r1,r2..

    , "i" . ? .. i1, i2, i3 , x,y,z x1,x2,x3 () .
    Last edited by engen; 15th November 2008 at 21:38.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |