Results 1 to 9 of 9

Thread: Gauss-Jordan (Partially Solved)

Threaded View

  1. #6

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Arrow Still going on...

    As you know... Gauss Jordan will get the following Matrix:

    1 0 0 300
    0 1 0 500
    0 0 1 100

    Which means that the answer to the first equation is 300, the answer to the second one is 500 and the answer to the third one is 100. So you can see the last thing I added to the function of Gauss-Jordan was to divide each row over the number that is left in the main diagonal, if it is different from 1.

    Now, after the first I get the following:

    1 4 3 2600
    0 -3 -2 -1700
    0 -1 -1 -600

    And so far is doing fine... In the next iteration it should be:

    1 0 -1 2600
    0 -3 -2 -1700
    0 0 1 100

    But my code gives different values to this... So I don't know what is wrong, this is the 15th time I redo it and I am tired of trying to solve it.

    I have to also explain that it shows the matrix from up to down... So in the first iteration you will get as messages this:

    message 1: 1
    message 2: 0
    message 3: 0

    Instead of:

    message 1: 1
    message 2: 4
    message 3: 3
    message 4: 2600

    I am sure the functions above work properly but I don't know how I should use them to make the algorithm work properly!
    Last edited by Tec-Nico; Oct 27th, 2002 at 09:54 PM.
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

Posting Permissions

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



Click Here to Expand Forum to Full Width