Results 1 to 6 of 6

Thread: Simultaneous Eq. using Matrices

  1. #1
    sql_lall
    Guest

    Talking Simultaneous Eq. using Matrices

    I know there is a way, but not sure of how it goes, but i have heard of a way you can use a matrix to solve simultaneous equations. Is this right? and if so, how?? (I'm only in yr 10, so keep the Matrix terminology not too complex )

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    trough gausselimination of a matrix. Not too simple to explain but basically you subtract a multiple of another row in order to eliminate all but the diagonal (this also means you permutate a row), sometimes you need to switch the rows as well. There's a lot of stuff to read on the net, just search on gausselimination.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3
    Member
    Join Date
    Mar 2002
    Location
    Grimsby (up the Mariners!)
    Posts
    45

    Alternative...

    You can also use matrix inversion to solve simultaneous equations.

  4. #4
    Frenzied Member
    Join Date
    Jul 1999
    Location
    Huntingdon Valley, PA 19006
    Posts
    1,151
    Inverting a matrix requires more computations than solving a set of simultaneous equations. Once you have the inverse, you still have more work to do.

    There is at least one thread at this forum which describes gauss elimination. I think it includes some code.
    Live long & prosper.

    The Dinosaur from prehistoric era prior to computers.

    Eschew obfuscation!
    If a billion people believe a foolish idea, it is still a foolish idea!
    VB.net 2010 Express
    64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.

  5. #5
    sql_lall
    Guest

    Talking Thanks

    Thankyou all for your help. I think i'll just search gauss elimination.

  6. #6
    sql_lall
    Guest

    Exclamation COOL

    Wow, i never realised, but on my Calc (Ti83+), there is an 'rref(matrix)' button, which does it all for you!! COOL!!!

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