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?
10,231 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)
This is an extension to above answers 2 and 4.
The number x.y is given as:
y = any number of consecutive 6’s (Ex: 6, 66, 666, 6666, etc).
x is determined as: 2*x+2 = y (as selected).
For example:
- y is selected as 6 then x will be 2. The number is 2.6
- y is selected as 66 then x will be 32. The number
is 32.66
- y is selected as 666 then x will be 332.
The number is 332.666
- y is selected as 6666 then x will be 3332.
The number is 3332.6666
Bah, this is all wrong. You get the teller to dispense the correct amount; otherwise, you get the branch manager to do it. Even if you come out ahead with the teller’s mistake, someone in accounting will catch the error when the teller tries to reconcile the cashier drawer amount at the end of the day. Regardless that the teller is in error for dispensing the wrong amount of change, your account will be debited for what’s missing.
Lets go ahead with the $x.y notation.
$x.y is what should have been given but $y.x is what was.
First thing to notice is that y>x
Now…. x.y+x.y+1 = y.x
so, 2y = 100 + x (obv if y>x, 2y=x is absurd)
also, 2x + 1 + 1( due to the carry from 2y in the cents) = y
Solving the equations: x = 32, y = 66
Therefore, $32.66
32.66$
suppose he borrow x $ and Y cents so total money u can write as 100x+y
after paying
100x+y +100x+y+100 = 100y+x
199x+100 = 98Y
199x+100/98 = Y
because Y and x are integer so 199x+100/98 should be integer which satisfy for x = 32 and y =66
s0 $32.66
The only answer is 32.66
2.6 is wrong as the reverse of 2.6 is 60.2 and 6.2 as assumed!
Assume: borrowed x dollars and y cents from George.
x and y should not be 0, based the scenarios.
Then we have:
x, y must be integer in the range 1 to 99
2(100*x + y ) + 100 = 100*y + x
Simplified and we got the following equation:
199x + 100 = 98y
By trying x with value from 1 to 99,
only when x = 32 and y = 66 satisfies the answer.
$32.66 + $32.66 + $1.00 = $66.32
So, money borrowed: $32.66.
Suppose both x, y are integer from 0 to 99. Hence borrowed money from both are 100x+y. Teller gives 100y+x. The equation is:
100y+x = 2(100x+y).
This leads to:
y = 1+2x+(2+3x)/98.
We don’t have many choices here. 2+3x should be 98N, i.e., 2+3x = 98N.
If N=1, then 3x = 96, x=32.
If N=2, then x=64.67, not integer.
if N=3, then x=97.33, not integer.
So the only answer is x=32, y=66.
Leave an Answer/Comment