Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a lil problem for u all to solve
Author Message
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1294
Online
Post: #12
RE: a lil problem for u all to solve
Be glad Assassinator hasn't seen this.

0.5a + 3b + 10c = 100
a + b + c = 100

So here wee go:
c = 100-a-b
0.5a + 3b + 10(100-a-b) = 100
0.5a + 3b + 1000 -10a - 10b = 100
-9.5a - 7b = -900
19a + 14b = 1800

Now, a and b must be integers.  The above is an example of a linear Diophantine equation.
...I just happen to have forgotten how to solve them.
If I can be bothered, I'd look back through my books on how... >_>
23/01/2008 09:10 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: a lil problem for u all to solve - ZiNgA BuRgA - 23/01/2008 09:10 PM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)

 Quick Theme: