|
-
Apr 5th, 2002, 06:40 AM
#1
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 )
-
Apr 5th, 2002, 08:08 AM
#2
transcendental analytic
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.
-
Apr 5th, 2002, 09:39 AM
#3
Member
Alternative...
You can also use matrix inversion to solve simultaneous equations.
-
Apr 5th, 2002, 10:25 AM
#4
Frenzied Member
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.
-
Apr 6th, 2002, 04:50 AM
#5
Thanks
Thankyou all for your help. I think i'll just search gauss elimination.
-
Apr 7th, 2002, 07:01 AM
#6
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|