1. ## Algebraic Help

OK, I know how you folks like to get into high gear and solve difficult stuff, so here goes:

This is a set of equations that need to be solved for the following rules: Each letter A through I will be a number from 0 through 8. Each can only be used once. A=5, B=3, E=0, etc. This is actually to help jump start my brain more than a puzzle of extreme difficulty. It is for a Geocache if anyone is interested in the purpose. The numbers will relate to a set of coordinates such as 35 degrees 05.EIF 106 degrees 36.IGC. So here goes:

H + B = C
I - H = A
H - B = G
I - B = F
D - C = G
A + G = F
D + E = I - G
If someone can solve this and explain how, I would be mucho appreciative (perhaps a virtual choccy bar?)

2. ## Re: Algebraic Help

I'd use brute force! <img src=/S/evilgrin.gif border=0 alt=evilgrin width=15 height=15>

There is some redundancy (adding the 2nd and 3rd equations yields I - B = A + G, and combined with the 4th equation this yields A + G = F, which is the 6th equation), but the attached code doesn't try to be intelligent, it just loops through all possible combinations. The code can be run in any of the Office applications.

The solution is
<span style="background-color: #FFFF00; color: #FFFF00; font-weight: bold">A=5
B=1
C=4
D=6
E=0
F=7
G=2
H=3
I=8</span hide>

3. ## Re: Algebraic Help

<img src=/S/rofl.gif border=0 alt=rofl width=15 height=15>

....and there was me getting ready with my scratch pad and then this alarmingly multi-looped piece of code came to view...brute force <img src=/S/yep.gif border=0 alt=yep width=15 height=15>

4. ## Re: Algebraic Help

And as I ran out of scratch paper and realized Jezza was about to come to the rescue with more... I knew of course, there was an Office solution to be had by Hans, and of course, he racks up another first answer. Thanks and it was a wonderful correct solution as usual.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•