# Solving Simultaneous Linear Equations

Page 1 of 1

## 1 Replies - 3163 Views - Last Post: 31 December 2012 - 01:51 AMRate Topic: //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'https://www.dreamincode.net/forums/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=305253&amp;s=a86ef57cbf6c82e35d333d4ac778341c&md5check=' + ipb.vars['secure_hash'], cur_rating: 0, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

### #1 shrik450

• New D.I.C Head

Reputation: 0
• Posts: 15
• Joined: 01-December 12

# Solving Simultaneous Linear Equations

Posted 31 December 2012 - 01:11 AM

Hello,
I've been learning Python for 3 weeks now, and know most of the basics ( classes, functions etc.. ) In my tries to create a program to solve simultaneous linear equations in two variables, I've only used brute forcing so far and that too is not very efficient.
Does anybody know any efficient algorithm to do so? If so, please do not enter Python code here, as I would want to test myself in coding it.
Thanks in advance
shrik450

Is This A Good Question/Topic? 0

## Replies To: Solving Simultaneous Linear Equations

### #2 blackcompe

• D.I.C Lover

Reputation: 1159
• Posts: 2,547
• Joined: 05-May 05

## Re: Solving Simultaneous Linear Equations

Posted 31 December 2012 - 01:51 AM

How about Elimination with matrices?
Was This Post Helpful? 0

Page 1 of 1

 .related ul { list-style-type: circle; font-size: 12px; font-weight: bold; } .related li { margin-bottom: 5px; background-position: left 7px !important; margin-left: -35px; } .related h2 { font-size: 18px; font-weight: bold; } .related a { color: blue; }