Here's the question you clicked on:
sasogeek
How do you solve for a 5 variable simultaneous equation using matrices?
I've forgotten it, might have to revise it... you mind helping me out with it?
honestly....i have no idea how to do it....you can judge from my profile picture that i hate math...
maybe @sauravshakya knows though
yeah I have also done for 2 variables.
Dont know how to do for more than that......
I'm supposed to write a program in c++ that solves a 5 variable simultaneous equation, I've done that for 2 variables and trying to use the same concept for 5 seems tedious, I need an alternative algorithm :P
Nope....... I havent written a program.
I guess u need to use 2-dimensional array
all matrices use 2-dimensional array.....
To write a program is different thing..... I even dont know how to solve 5 variable equation using matrix.
@hartnn can u help? PLZ
http://en.wikipedia.org/wiki/Gaussian_elimination#Pseudocode
That looks like I'd need loops but the lecturer hasn't taught loops so I'm not sure if it's okay to use 'em... :/ @estudier But seems like something fun to code since most of the work is already done in the pseudocode
all that he has talked about is input and output. it isn't an exercise for my class though, it's for that of some friends but since I know a little c++, I wanna help them
The procedure for 3 variables is described higher up the page so 5 variables is an extension of that. You could do it without loops but it would be a bit long...