Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

sasogeek

  • 3 years ago

How do you solve for a 5 variable simultaneous equation using matrices?

  • This Question is Closed
  1. lgbasallote
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    cramer's?

  2. sasogeek
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I've forgotten it, might have to revise it... you mind helping me out with it?

  3. lgbasallote
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    honestly....i have no idea how to do it....you can judge from my profile picture that i hate math...

  4. lgbasallote
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    maybe @sauravshakya knows though

  5. sauravshakya
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    yeah I have also done for 2 variables.

  6. sauravshakya
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Dont know how to do for more than that......

  7. sasogeek
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    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

  8. sauravshakya
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Nope....... I havent written a program.

  9. sauravshakya
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I guess u need to use 2-dimensional array

  10. lgbasallote
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    all matrices use 2-dimensional array.....

  11. sauravshakya
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    To write a program is different thing..... I even dont know how to solve 5 variable equation using matrix.

  12. sauravshakya
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    @hartnn can u help? PLZ

  13. estudier
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    http://en.wikipedia.org/wiki/Gaussian_elimination#Pseudocode

  14. sasogeek
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    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

  15. sasogeek
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    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

  16. estudier
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    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...

  17. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy