You have borrowed money from your friend George. But now, George wants his money back. So you go to your other friend Frank and he writes you a check for the amount you owe George. You make your way to the bank and give the check to the teller. He accidentally mixes up the dollars and cents (for example $20.76 would become $76.20).
That mixup allows you to repay both friends and have $1 left over.
How much did you borrow from each friend?
993 Views |
Is a simple B&B problem: abcd+abcd+100=cdab. Let start with units:
2d = b OR 2d = 10+b
if 2d=b then 2c = a OR 2c = 10 + a ….
if 2d=10+b then 2c+1=a OR 2c+1=10+a ….
at the end (just 4 levels…) the sum was 32.66 $
32.66
after the mix up it becomes.. 66.32
Paying both friends 32.66 we are left with $1
Money borrowed from George = x.y
Check given by Frank = x.y
Money given by the teller = y.x
y.x = x.y + x.y + 1
y.x = 2(x.y) + 1
(y.x - 1)/2 = x.y
Since y.x > x.y => y > x
also y
there may be many ans….the one i got was…it was just a try and i hit it .
the money borrowed from 1st is 2.6
the money borrowed from 2 to pay 1 as check is of 2.6
the teller got confused and paid him 6.2=((2*2.6)+1)
Leave an Answer/Comment